import { DateType } from '@mezzanine-ui/core/calendar'; import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types'; export interface TimePanelProps extends Omit, 'value' | 'onChange' | 'children'> { /** * Controls whether or not to hide hours column. */ hideHour?: boolean; /** * Controls whether or not to hide minutes column. */ hideMinute?: boolean; /** * Controls whether or not to hide seconds column. */ hideSecond?: boolean; /** * The steps of hour. * @default 1 */ hourStep?: number; /** * The steps of minute. * @default 1 */ minuteStep?: number; /** * Change handler. Takes `DateType` as its argument. */ onChange?: (target: DateType) => void; /** * Called when the user clicks the Cancel button. */ onCancel?: VoidFunction; /** * Called when the user clicks the Ok button. */ onConfirm?: VoidFunction; /** * The steps of second. * @default 1 */ secondStep?: number; /** * Display value of the panel */ value?: DateType; } /** * The react component for `mezzanine` time panel. * Notice that any component related to time-panel should be used along with `CalendarContext`. */ declare const TimePanel: import("react").ForwardRefExoticComponent>; export default TimePanel;