@eristack/line-grid
Version:
Editable QUPS line table with patchLine recalculation hook
13 lines • 473 B
TypeScript
import type { ReactNode } from "react";
import type { CalculatedLine } from "@eristack/qups";
export type LineGridColumn = {
id: string;
header: string;
};
export type LineGridProps = {
line: CalculatedLine;
columns: LineGridColumn[];
renderCell: (columnId: string, line: CalculatedLine) => ReactNode;
};
export declare function LineGrid({ line, columns, renderCell }: LineGridProps): import("react").JSX.Element;
//# sourceMappingURL=line-grid.d.ts.map