// @flow import * as React from 'react'; import {Avatar, Card, withTheme} from 'react-native-paper'; function EventDashBoardItem(props) { const {colors} = props.theme; const iconColor = props.isAvailable ? colors.planningColor : colors.textDisabled; const textColor = props.isAvailable ? colors.text : colors.textDisabled; return ( } /> {props.children} ); } export default withTheme(EventDashBoardItem);