UNPKG

@heroui/date-input

Version:

A date input allows users to enter and edit date and time values using a keyboard.

14 lines (11 loc) 533 B
import { DateInputReturnType, SlotsToClasses, DateInputSlots } from '@heroui/theme'; import { HTMLHeroUIProps } from '@heroui/system'; import { DateFieldState, DateSegment } from '@react-stately/datepicker'; interface DateInputSegmentProps extends HTMLHeroUIProps<"div"> { state: DateFieldState; segment: DateSegment; slots: DateInputReturnType; classNames?: SlotsToClasses<DateInputSlots>; } declare const DateInputSegment: React.FC<DateInputSegmentProps>; export { DateInputSegment, type DateInputSegmentProps };