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

13 lines (12 loc) 706 B
import { As, Options, Props } from "ariakit-utils/types"; import { DatePickerState } from "./datepicker-state"; import { DateRangePickerState } from "./daterangepicker-state"; export declare const useDatePickerLabel: import("ariakit-utils/types").Hook<DatePickerLabelOptions<"span">>; export declare const DatePickerLabel: import("ariakit-utils/types").Component<DatePickerLabelOptions<"span">>; export declare type DatePickerLabelOptions<T extends As = "span"> = Options<T> & { /** * Object returned by the `useDatePickerState` hook. */ state: DatePickerState | DateRangePickerState; }; export declare type DatePickerLabelProps<T extends As = "span"> = Props<DatePickerLabelOptions<T>>;