// @flow import * as React from 'react'; import {View} from 'react-native'; import {withTheme} from 'react-native-paper'; export type CellType = {color: string, isEmpty: boolean, key: string}; type PropsType = { cell: CellType, }; class CellComponent extends React.PureComponent { render(): React.Node { const {props} = this; const item = props.cell; return ( ); } } export default withTheme(CellComponent);