UNPKG

@1771technologies/lytenyte-pro

Version:

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

9 lines (8 loc) 382 B
import { type PropsWithChildren } from "react"; import type { Grid, GridEvents } from "../+types"; export type RootProps<T> = { readonly grid: Grid<T>; } & { [k in keyof GridEvents<T> as `on${Capitalize<k>}`]: GridEvents<T>[k]; }; export declare function Root<T = any>({ children, grid, ...props }: PropsWithChildren<RootProps<T>>): import("react/jsx-runtime").JSX.Element;