UNPKG

react-native-nepali-picker

Version:

Minimalist and modern Nepali-date picker with customization.🌟

20 lines (18 loc) • 502 B
import type { ReactNode } from 'react'; import type { TextStyle } from 'react-native'; export interface CalendarPickerProps { visible: boolean; children?: ReactNode; onClose: () => void; theme?: 'dark' | 'light'; onDateSelect: (date: string) => void; language?: 'en' | 'np'; brandColor?: string; dayTextStyle?: TextStyle; weekTextStyle?: TextStyle; titleTextStyle?: TextStyle; date?: DateString; minDate?: DateString; maxDate?: DateString; } export type DateString = string;