UNPKG

reakit

Version:

Toolkit for building accessible rich web apps with React

27 lines (26 loc) 1.55 kB
import * as React from "react"; import { TabbableOptions, TabbableHTMLProps } from "../Tabbable/Tabbable"; export declare type InputOptions = TabbableOptions; export declare type InputHTMLProps = TabbableHTMLProps & React.InputHTMLAttributes<any>; export declare type InputProps = InputOptions & InputHTMLProps; export declare const useInput: { (options?: TabbableOptions | undefined, htmlProps?: import("..").unstable_ComboboxHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): import("..").unstable_ComboboxHTMLProps; unstable_propsAreEqual: (prev: import("..").RoleOptions & { disabled?: boolean | undefined; focusable?: boolean | undefined; } & React.HTMLAttributes<any> & React.RefAttributes<any> & { wrapElement?: ((element: React.ReactNode) => React.ReactNode) | undefined; } & { disabled?: boolean | undefined; } & React.InputHTMLAttributes<any>, next: import("..").RoleOptions & { disabled?: boolean | undefined; focusable?: boolean | undefined; } & React.HTMLAttributes<any> & React.RefAttributes<any> & { wrapElement?: ((element: React.ReactNode) => React.ReactNode) | undefined; } & { disabled?: boolean | undefined; } & React.InputHTMLAttributes<any>) => boolean; __keys: readonly any[]; __useOptions: (options: TabbableOptions, htmlProps: import("..").unstable_ComboboxHTMLProps) => TabbableOptions; }; export declare const Input: import("reakit-system/ts/createComponent").Component<"input", TabbableOptions>;