UNPKG

react-native-easy-calendar

Version:

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

24 lines (23 loc) 765 B
import React from 'react'; import type { ArrowComponentType, TitleComponentType, DayComponentType, MonthComponentType, WeekdaysComponentType } from '../Entities'; export interface Props { ArrowComponent?: ArrowComponentType; TitleComponent?: TitleComponentType; DayComponent?: DayComponentType; MonthComponent?: MonthComponentType; WeekdaysComponent?: WeekdaysComponentType; testID?: string; showExtraDates?: boolean; allowYearView?: boolean; onPressDay: (date: string) => void; minDate?: string; maxDate?: string; initVisibleDate?: string; dateProperties: { [date: string]: { isSelected?: boolean; }; }; } declare const BaseCalendar: React.FC<Props>; export default BaseCalendar;