@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
12 lines (11 loc) • 608 B
TypeScript
import { As, Options, Props } from "ariakit-utils/types";
import { TimeFieldState } from "./timefield-state";
export declare const useTimeFieldLabel: import("ariakit-utils/types").Hook<TimeFieldLabelOptions<"span">>;
export declare const TimeFieldLabel: import("ariakit-utils/types").Component<TimeFieldLabelOptions<"span">>;
export declare type TimeFieldLabelOptions<T extends As = "span"> = Options<T> & {
/**
* Object returned by the `useTimeFieldState` hook.
*/
state: TimeFieldState;
};
export declare type TimeFieldLabelProps<T extends As = "span"> = Props<TimeFieldLabelOptions<T>>;