SpreadsheetJS React is one of the library of React Component with ease to use in any React project and will not break a project
import { Spreadsheet } from "spreadsheetjs-react"
const YourParentComponent = () => {
return (
<Spreadsheet />
)
}
export default YourParentComponent
cells: data in each cell,
rows_height: height of each row,
cols_width: width of each column
merged_cells: all merged cells
import { Spreadsheet } from "spreadsheetjs-react"
const YourParentComponent = () => {
return (
<Spreadsheet spreadsheet={
cells: [
[
{
value: "",
},
{
value: "",
},
], [
{
value: "",
},
{
value: "",
},
],
],
rows_height: [50, 50],
cols_width: [100, 100],
merged_cells: []
} />
)
}
cell.value: String value of this cell
cell.style: style of this cell
Licensed under the terms of the MIT License.
Due to my bad design reason cause delete and insert features hassles, v1 will be deprecated but it still usable except those features
Entirely depend on speedysheet to port to other web framework