UNPKG

@adaptui/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

9 lines (8 loc) 457 B
import { DateFieldState } from "@react-stately/datepicker"; import { TimePickerProps, TimeValue } from "@react-types/datepicker"; export declare function useTimeFieldBaseState(props: TimeFieldBaseStateProps): TimeFieldBaseState; export declare type TimeFieldBaseState = DateFieldState & {}; export declare type TimeFieldBaseStateProps = TimePickerProps<TimeValue> & { /** The locale to display and edit the value according to. */ locale: string; };