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