reakit
Version:
Toolkit for building accessible rich web apps with React
27 lines (26 loc) • 2.06 kB
TypeScript
/// <reference types="react" />
import { CompositeOptions, CompositeHTMLProps } from "../Composite/Composite";
export declare type unstable_GridOptions = CompositeOptions;
export declare type unstable_GridHTMLProps = CompositeHTMLProps;
export declare type unstable_GridProps = unstable_GridOptions & unstable_GridHTMLProps;
export declare const unstable_useGrid: {
(options?: CompositeOptions | undefined, htmlProps?: import("..").TabbableHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): import("..").TabbableHTMLProps;
unstable_propsAreEqual: (prev: import("..").RoleOptions & {
disabled?: boolean | undefined;
focusable?: boolean | undefined;
} & Pick<Partial<import("..").CompositeStateReturn>, "wrap" | "orientation" | "baseId" | "currentId" | "unstable_virtual" | "groups" | "unstable_moves"> & Pick<import("..").CompositeStateReturn, "move" | "first" | "last" | "items" | "setCurrentId"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & {
wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined;
} & {
disabled?: boolean | undefined;
}, next: import("..").RoleOptions & {
disabled?: boolean | undefined;
focusable?: boolean | undefined;
} & Pick<Partial<import("..").CompositeStateReturn>, "wrap" | "orientation" | "baseId" | "currentId" | "unstable_virtual" | "groups" | "unstable_moves"> & Pick<import("..").CompositeStateReturn, "move" | "first" | "last" | "items" | "setCurrentId"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & {
wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined;
} & {
disabled?: boolean | undefined;
}) => boolean;
__keys: readonly any[];
__useOptions: (options: CompositeOptions, htmlProps: import("..").TabbableHTMLProps) => CompositeOptions;
};
export declare const unstable_Grid: import("reakit-system/ts/createComponent").Component<"div", CompositeOptions>;