@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
14 lines (13 loc) • 886 B
TypeScript
import type * as Core from "@1771technologies/lytenyte-core/types";
import { type PropsWithChildren, type ReactNode } from "react";
import type { RowSource } from "@1771technologies/lytenyte-shared";
import type { Grid } from "@1771technologies/lytenyte-core";
export declare const Root: <Spec extends Root.GridSpec = Root.GridSpec>(props: PropsWithChildren<Root.Props<Spec> & (undefined extends Spec["api"] ? object : {
apiExtension: Spec["api"];
})>) => ReactNode;
export declare namespace Root {
type GridSpec<T = unknown, C extends Record<string, any> = object, S extends RowSource<T> = RowSource, E extends Record<string, any> = object> = Grid.GridSpec<T, C, S, E>;
type Props<Spec extends GridSpec = GridSpec> = Grid.Props<Spec>;
type API<Spec extends GridSpec = GridSpec> = Core.API<Spec>;
type Column<Spec extends GridSpec = GridSpec> = Core.Column<Spec>;
}