// @flow import * as React from 'react'; import {Avatar, Card, Paragraph} from "react-native-paper"; import {StyleSheet} from "react-native"; import i18n from 'i18n-js'; const ICON_AMICALE = require('../../../../assets/amicale.png'); export default class VoteTitle extends React.Component<{}> { shouldComponentUpdate() { return false; } render() { return ( } /> {i18n.t('voteScreen.title.paragraph1')} {i18n.t('voteScreen.title.paragraph2')} ); } } const styles = StyleSheet.create({ card: { margin: 10, }, icon: { backgroundColor: 'transparent' }, });