UNPKG

reakit

Version:

Toolkit for building accessible rich web apps with React

18 lines (17 loc) 1.65 kB
/// <reference types="react" /> import { BoxOptions, BoxHTMLProps } from "../Box/Box"; import { unstable_ComboboxStateReturn } from "./ComboboxState"; export declare const unstable_useComboboxList: { (options?: unstable_ComboboxListOptions | undefined, htmlProps?: BoxHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): BoxHTMLProps; unstable_propsAreEqual: (prev: BoxOptions & Pick<Partial<unstable_ComboboxStateReturn>, "menuRole"> & Pick<unstable_ComboboxStateReturn, "baseId"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }, next: BoxOptions & Pick<Partial<unstable_ComboboxStateReturn>, "menuRole"> & Pick<unstable_ComboboxStateReturn, "baseId"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }) => boolean; __keys: readonly any[]; __useOptions: (options: unstable_ComboboxListOptions, htmlProps: BoxHTMLProps) => unstable_ComboboxListOptions; }; export declare const unstable_ComboboxList: import("reakit-system/ts/createComponent").Component<"div", unstable_ComboboxListOptions>; export declare type unstable_ComboboxListOptions = BoxOptions & Pick<Partial<unstable_ComboboxStateReturn>, "menuRole"> & Pick<unstable_ComboboxStateReturn, "baseId">; export declare type unstable_ComboboxListHTMLProps = BoxHTMLProps; export declare type unstable_ComboboxListProps = unstable_ComboboxListOptions & unstable_ComboboxListHTMLProps;