UNPKG

react-native-ethiopian-calendar-date-picker

Version:

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

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