import React from 'react'; import { StyleSheet } from 'react-native'; import { StyledCalendarCell, StyledMark, StyledCalendarRowItem, } from './StyledCalendar'; import Typography from '../Typography'; import Box from '../Box'; interface SelectedDateProps { date: Date; onPress?: () => void; marked?: boolean; isStart?: boolean; showConnector?: boolean; itemWidth?: number; } const SelectedDate = ({ date, onPress, marked, isStart, showConnector, itemWidth, }: SelectedDateProps) => { return ( {showConnector ? ( ) : null} {date ? date.getDate() : ''} {marked ? ( ) : null} ); }; export default SelectedDate;