UNPKG

react-native-ethiopian-calendar-date-picker

Version:

A react native calendar component which is mainly intended for applications which require Ethiopian calendar.

21 lines (20 loc) 666 B
import React from 'react'; import type { SelectedDate, Theme } from 'src/types'; import type { Mode } from '../../utils/locals/types'; declare type GregorianCalendar = { onDatePress: (date: SelectedDate) => void; onModeChange?: (mode: Mode) => void; theme?: Theme; hideHeaderButtons?: boolean; date?: { year: number; month: number; day: number; }; selectedDate: SelectedDate | undefined; setSelectedDate: React.Dispatch<React.SetStateAction<SelectedDate | undefined>>; minDate?: any; maxDate?: any; }; export declare const GregorianCalendar: React.FC<GregorianCalendar>; export {};