reakit
Version:
Toolkit for building accessible rich web apps with React
37 lines (36 loc) • 2.77 kB
TypeScript
import * as React from "react";
import { CompositeItemOptions, CompositeItemHTMLProps } from "../Composite/CompositeItem";
export declare type unstable_GridCellOptions = CompositeItemOptions;
export declare type unstable_GridCellHTMLProps = CompositeItemHTMLProps & React.TdHTMLAttributes<any>;
export declare type unstable_GridCellProps = unstable_GridCellOptions & unstable_GridCellHTMLProps;
export declare const unstable_useGridCell: {
(options?: CompositeItemOptions | undefined, htmlProps?: unstable_GridCellHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): unstable_GridCellHTMLProps;
unstable_propsAreEqual: (prev: import("..").RoleOptions & {
disabled?: boolean | undefined;
focusable?: boolean | undefined;
} & {
unstable_clickOnEnter?: boolean | undefined;
unstable_clickOnSpace?: boolean | undefined;
} & Pick<Partial<import("..").unstable_IdStateReturn>, "baseId" | "unstable_idCountRef"> & {
id?: string | undefined;
} & Pick<Partial<import("..").CompositeStateReturn>, "orientation" | "baseId" | "unstable_virtual" | "unstable_moves" | "unstable_hasActiveWidget"> & Pick<import("..").CompositeStateReturn, "down" | "up" | "next" | "first" | "last" | "currentId" | "items" | "registerItem" | "unregisterItem" | "previous" | "setCurrentId"> & React.HTMLAttributes<any> & React.RefAttributes<any> & {
wrapElement?: ((element: React.ReactNode) => React.ReactNode) | undefined;
} & {
disabled?: boolean | undefined;
} & React.TdHTMLAttributes<any>, next: import("..").RoleOptions & {
disabled?: boolean | undefined;
focusable?: boolean | undefined;
} & {
unstable_clickOnEnter?: boolean | undefined;
unstable_clickOnSpace?: boolean | undefined;
} & Pick<Partial<import("..").unstable_IdStateReturn>, "baseId" | "unstable_idCountRef"> & {
id?: string | undefined;
} & Pick<Partial<import("..").CompositeStateReturn>, "orientation" | "baseId" | "unstable_virtual" | "unstable_moves" | "unstable_hasActiveWidget"> & Pick<import("..").CompositeStateReturn, "down" | "up" | "next" | "first" | "last" | "currentId" | "items" | "registerItem" | "unregisterItem" | "previous" | "setCurrentId"> & React.HTMLAttributes<any> & React.RefAttributes<any> & {
wrapElement?: ((element: React.ReactNode) => React.ReactNode) | undefined;
} & {
disabled?: boolean | undefined;
} & React.TdHTMLAttributes<any>) => boolean;
__keys: readonly any[];
__useOptions: (options: CompositeItemOptions, htmlProps: unstable_GridCellHTMLProps) => CompositeItemOptions;
};
export declare const unstable_GridCell: import("reakit-system/ts/createComponent").Component<"span", CompositeItemOptions>;