UNPKG

react-native-ethiopian-calendar

Version:

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

21 lines (20 loc) 715 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>>; }; export declare const EthiopianCalender: React.FC<EthiopianCalenderProps>; export {};