Skip to main content

useExcelReader

warning

This hook is in the experimental stage.

  • This is a hook that reads an Excel file.

Features

  • It provides a function to read an Excel file and returns the data converted to JSON format.

Types

const useExcelReader: () => {
convertedExcel:
| {
[index: string]: {
based: {
rows: RowValues[];
cols: (readonly CellValue[] | undefined)[];
};
};
}[]
| null;
oneFileReader: (file: File) => void;
};