@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) • 622 B
TypeScript
import { As, Options, Props } from "ariakit-utils/types";
import { NumberFieldState } from "./numberfield-state";
export declare const useNumberFieldInput: import("ariakit-utils").Hook<NumberFieldInputOptions<"input">>;
export declare const NumberFieldInput: import("ariakit-utils").Component<NumberFieldInputOptions<"input">>;
export declare type NumberFieldInputOptions<T extends As = "input"> = Options<T> & {
/**
* Object returned by the `useNumberFieldState` hook.
*/
state: NumberFieldState;
};
export declare type NumberFieldInputProps<T extends As = "input"> = Props<NumberFieldInputOptions<T>>;