UNPKG

react-native-plain-calendar

Version:
27 lines (26 loc) 1.02 kB
import * as React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { WeekDayNumber } from '../../types'; import { DayComponentProps, DayStyleProps } from '../Day/Day'; export interface CellProps { selectedDate?: Date; startSelectedDate?: Date; endSelectedDate?: Date; minDate?: Date; maxDate?: Date; disabledDates?: Date[]; weekStartsOn?: WeekDayNumber; dayContainerStyle?: StyleProp<ViewStyle>; DayComponent?: React.FunctionComponent<DayComponentProps>; disabledDayPick: boolean; dayPropsStyle?: DayStyleProps; } interface CellPrivateProps extends CellProps { currentMonth: Date; formattedDate: string; day: Date; monthStart: Date; onDateClick(date: Date): void; } export declare function Cell({ selectedDate, onDateClick, startSelectedDate, endSelectedDate, minDate, maxDate, disabledDates, dayContainerStyle, DayComponent, dayPropsStyle, disabledDayPick, day, formattedDate, monthStart, }: CellPrivateProps): JSX.Element; export {};