UNPKG

react-native-easy-calendar

Version:

Customizable, easy-to-use, performant calendar components for React Native

23 lines (22 loc) 796 B
import React from 'react'; import type { Locale, Theme, ArrowComponentType, MonthComponentType, TitleComponentType, DayComponentType, WeekdaysComponentType } from '../Entities'; export interface Props { ArrowComponent?: ArrowComponentType; TitleComponent?: TitleComponentType; DayComponent?: DayComponentType; MonthComponent?: MonthComponentType; WeekdaysComponent?: WeekdaysComponentType; onSelectDate: (date: string) => void; selectedDate: string; disabledDates?: string[]; minDate?: string; maxDate?: string; initVisibleDate?: string; allowYearView?: boolean; showExtraDates?: boolean; testID?: string; locale?: Locale; theme?: Theme; } declare const DateSelectionCalendar: React.FC<Props>; export default DateSelectionCalendar;