UNPKG

subhasmitalmg-react-spreadsheet-import

Version:

React spreadsheet import for xlsx and csv files with column matching and validation steps

9 lines (8 loc) 415 B
import type { Column } from "../MatchColumnsStep"; type TemplateColumnProps<T extends string> = { onChange: (val: T, index: number) => void; onSubChange: (val: T, index: number, option: string) => void; column: Column<T>; }; export declare const TemplateColumn: <T extends string>({ column, onChange, onSubChange }: TemplateColumnProps<T>) => import("react/jsx-runtime").JSX.Element; export {};