useExcelReader
warning
This hook is in the experimental stage.
- This is a hook that reads an
Excelfile.
Features
- It provides a function to read an
Excelfile and returns the data converted toJSONformat.
Types
const useExcelReader: () => {
convertedExcel:
| {
[index: string]: {
based: {
rows: RowValues[];
cols: (readonly CellValue[] | undefined)[];
};
};
}[]
| null;
oneFileReader: (file: File) => void;
};