// @flow import * as React from 'react'; import {Avatar, List, Text, withTheme} from 'react-native-paper'; import i18n from "i18n-js"; type Props = { onPress: Function, color: string, item: Object, } class ProximoListItem extends React.PureComponent { colors: Object; constructor(props) { super(props); this.colors = props.theme.colors; } render() { return ( } right={() => {this.props.item.price}€ } /> ); } } export default withTheme(ProximoListItem);