@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
4 lines (3 loc) • 377 B
TypeScript
import type { ServerData } from "../server-data";
import type { UseServerDataSourceParams } from "../use-server-data-source";
export declare function useRowAdd<T>(source: ServerData, onRowAdd: UseServerDataSourceParams<any, unknown[]>["onRowsAdded"], optimistic?: boolean): (rows: import("@1771technologies/lytenyte-shared").RowLeaf<T>[], placement?: "start" | "end") => void;