import { TextInputProps } from "../TextInput"; import React from "react"; import { IconBaseProps } from "react-icons"; import { LabelProps } from "../Label"; export type TimepickerProps = Omit, "onChange"> & { hourValue?: string; minuteValue?: string; onChange?: (hour: string, minute: string) => void; inputsWrapperProps?: React.HTMLAttributes; hourInputContainerProps?: React.HTMLAttributes; hourInputProps?: TextInputProps; seperatorContainerProps?: React.HTMLAttributes; minuteInputContainerProps?: React.HTMLAttributes; minuteInputProps?: TextInputProps; iconProps?: IconBaseProps; fullwidth?: boolean; label?: string; labelProps?: LabelProps; error?: boolean; disabled?: boolean; pickerVisible?: boolean; onPickerVisibleToggle?: (to: boolean) => void; toggleButtonProps?: React.ButtonHTMLAttributes; toggleButtonContainerProps?: React.ButtonHTMLAttributes; dropdownOpenSide?: "right" | "left"; }; export default function Timepicker({ hourValue, minuteValue, onChange, inputsWrapperProps, hourInputContainerProps, hourInputProps, seperatorContainerProps, minuteInputContainerProps, minuteInputProps, iconProps, fullwidth, label, labelProps, error, disabled, pickerVisible, onPickerVisibleToggle, toggleButtonProps, toggleButtonContainerProps, dropdownOpenSide, ...props }: TimepickerProps): React.JSX.Element;