UNPKG

@1771technologies/lytenyte-pro

Version:

Blazingly fast headless React data grid with 100s of features.

12 lines (11 loc) 417 B
import type { Grid } from "./+types.js"; import type { InternalAtoms } from "./state/+types.js"; import type { Provider } from "react"; export interface GridRootContext { readonly ref: (el: HTMLElement | null) => void; readonly grid: Grid<any> & { internal: InternalAtoms; }; } export declare const RootProvider: Provider<GridRootContext>; export declare const useGridRoot: () => GridRootContext;