UNPKG

@moamfar/react-time-date-picker

Version:

A React component library providing elegant and intuitive iOS-style pickers for Gregorian dates times and Jalaali (Persian) dates and Hijri dates offering a consistent user experience in your React applications.

33 lines (32 loc) 752 B
export type TimePickerSelectedType = { hour?: string; minute?: string; meridiem?: string; }; export type TimePickerValueType = { hour?: { id: number; title: string; }; minute?: { id: number; title: string; }; meridiem?: { id: number; title: string; }; }; export type TimePickerProps = { setSelectedTime: (a?: TimePickerSelectedType) => void; selectedTime?: TimePickerSelectedType; submitCallback?: () => void; submitTitle?: string; useTransform?: boolean; is24Hours?: boolean; utcOffset?: string | number; submitTitleClassName?: string; buttonClassName?: string; autoSubmitDebounce?: number; containerClassName?: string; };