react-native-ethiopian-calendar
Version:
A react native calendar component which is mainly intended for applications which require Ethiopian calendar.
19 lines (18 loc) • 608 B
TypeScript
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>>;
};
export declare const GregorianCalendar: React.FC<GregorianCalendar>;
export {};