UNPKG

reablocks

Version:
37 lines (36 loc) 895 B
import { FC } from 'react'; import { CalendarTheme } from '../CalendarTheme'; export type AmPm = 'AM' | 'PM'; export interface CalendarTimesProps { /** * The current date time value. */ value: Date; /** * The minimum selectable date for the calendar. */ min?: Date; /** * The maximum selectable date for the calendar. */ max?: Date; /** * Callback fired when the time changes. */ onChange: (newDate: Date) => void; /** * Theme for the Calendar Time section. */ theme?: CalendarTheme['time']; /** * Whether day of week labels are shown in the calendar * @default false */ showDayOfWeek?: boolean; /** * Whether to use 12-hour cycle for the time picker. * @default false */ is12HourCycle?: boolean; } export declare const CalendarTimes: FC<CalendarTimesProps>;