UNPKG

@trussworks/react-uswds

Version:
18 lines (17 loc) 599 B
import { default as React } from 'react'; type BaseTimePickerProps = { id: string; name: string; onChange: (val?: string) => void; label: string; defaultValue?: string; disabled?: boolean; minTime?: string; maxTime?: string; step?: number; hint?: string; className?: string; }; type TimePickerProps = BaseTimePickerProps & Omit<JSX.IntrinsicElements['input'], 'onChange'>; export declare const TimePicker: ({ id, name, onChange, label, defaultValue, disabled, minTime, maxTime, step, hint, className, }: TimePickerProps) => React.ReactElement; export {};