// @flow import * as React from 'react'; import {Avatar, Card, Paragraph} from 'react-native-paper'; import {StyleSheet} from 'react-native'; import i18n from 'i18n-js'; import type {CardTitleIconPropsType} from '../../../constants/PaperStyles'; type PropsType = { startDate: string, }; const styles = StyleSheet.create({ card: { margin: 10, }, icon: { backgroundColor: 'transparent', }, }); export default class VoteTease extends React.Component { shouldComponentUpdate(): boolean { return false; } render(): React.Node { const {props} = this; return ( ( )} /> {`${i18n.t('screens.vote.tease.message')} ${props.startDate}`} ); } }