UNPKG

pick-datetime-react

Version:
11 lines (10 loc) 489 B
import { FC } from 'react'; import '../styles/form.css'; import '../styles/timepicker.css'; import { FormItemProps } from '../types'; import { TimeSlotsProps } from './TimeSlots'; export declare type TimepickerProps = { value?: string; format?: '12' | '24'; } & Partial<Omit<TimeSlotsProps, 'selectedTime'>> & Omit<FormItemProps, 'value' | 'type' | 'className' | 'readOnly' | 'messageType' | 'onChange' | 'onFocus'>; export declare const Timepicker: FC<TimepickerProps>;