import { ComponentProps, FC } from "react"; import { NvLabel } from "../.."; interface NvTimeFieldProps extends Omit, "onChange"> { value?: string; label?: string; description?: string; error?: string; digitPlaceholder?: string; placeholder?: string; disabled?: boolean; fullwidth?: boolean; className?: string; onChange: (value: string | null) => void; clearable?: boolean; onClear?: () => void; } /** * Functional component for rendering a time field with a dropdown time picker. * * @param value - The current value of the time field. * @param label - The label for the time field. * @param description - Additional description for the time field. * @param error - Error message to display for the time field. * @param digitPlaceholder - Placeholder for digits in the time field. * @param placeholder - Placeholder text for the time field. * @param disabled - Indicates if the time field is disabled. * @param fullwidth - Indicates if the time field should take full width. * @param className - The additional CSS class for the wrapper element. * @param onChange - Function to handle changes in the time field value. * @param clearable - Indicates if the clear button is displayed. * @param onClear - Callback fired when the clear button is clicked. * @returns React element representing the time field with a dropdown time picker. */ declare const NvTimeField: FC; export default NvTimeField;