Home > @uniformdev/design-system > InputTimeProps
InputTimeProps type
Signature:
type InputTimeProps = Pick<TimeFieldProps<TimeValue>, 'id' | 'name' | 'hourCycle' | 'autoFocus'> & Pick<React$1.InputHTMLAttributes<HTMLInputElement>, 'disabled'> & {
label?: string;
caption?: string | JSX.Element;
value: IsoTimeString | null | undefined;
minValue?: IsoTimeString;
maxValue?: IsoTimeString;
showLabel?: boolean;
errorMessage?: string;
warningMessage?: string;
containerTestId?: string;
labelTestId?: string;
errorTestId?: string;
captionTestId?: string;
belowInputSlot?: ReactNode;
onChange?: (value: IsoTimeString) => void;
};
References: IsoTimeString