seti-ramesesv1
Version:
Reusable components and context for Next.js apps
13 lines (12 loc) • 551 B
TypeScript
import type { TreeTableRow } from "./TreeTable";
type RowProps = {
row: TreeTableRow;
level: number;
parentId: string | null;
onAddSibling: (parentId: string | null, index: number) => void;
onAddChild: (id: string) => void;
onRowChange: (keyId: string, field: keyof TreeTableRow, value: string | boolean) => void;
onDeleteRow: (id: string) => void;
};
declare function Row({ row, level, parentId, onAddSibling, onAddChild, onRowChange, onDeleteRow }: RowProps): import("react/jsx-runtime").JSX.Element;
export default Row;