hello-csv
Version:
A modern CSV importer written in Preact
16 lines • 902 B
TypeScript
import { Table } from '@tanstack/react-table';
import { EnumLabelDict, SheetDefinition, SheetRow, SheetState, ImporterOutputFieldType, ImporterValidationError } from '../../types';
import { RefObject } from 'preact/compat';
interface Props {
table: Table<SheetRow>;
sheetDefinition: SheetDefinition;
allData: SheetState[];
sheetValidationErrors: ImporterValidationError[];
onCellValueChanged: (rowIndex: number, columnId: string, value: ImporterOutputFieldType) => void;
setSelectedRows: (rows: SheetRow[]) => void;
tableContainerRef: RefObject<HTMLDivElement>;
enumLabelDict: EnumLabelDict;
}
export default function SheetDataEditorTable({ table, sheetDefinition, allData, sheetValidationErrors, onCellValueChanged, setSelectedRows, tableContainerRef, enumLabelDict, }: Props): import("preact").JSX.Element;
export {};
//# sourceMappingURL=SheetDataEditorTable.d.ts.map