// @flow import * as React from 'react'; import {View} from 'react-native'; import {withTheme} from 'react-native-paper'; type Props = { item: Object } class Cell extends React.PureComponent { colors: Object; constructor(props) { super(props); this.colors = props.theme.colors; } render() { const item = this.props.item; return ( ); } } export default withTheme(Cell);