a table sheet tools to sort your datas
npm install sheetsort-table- It's a React Component
#### Parameters Description:
| Name | Type | Description |
| --------- | ------ | ------------------------------------------ |
| thData | Object | the titles needed for the table "thead" |
| tdData | Array | all the datas needed for the table "tbody" |
| dataTitle | String | the table "h1" -> section > h1 + table |
``javascript`
thData = {
key: string,
...
}
tdData = [
{key: string}
...
]
dataTitle = "App title"
`react
import DataTable from "sheetsort-table/dist/datatable/DataTable"
const MyComponent = () => {
const headTable = {
firstName: "Kaseng",
key: ""
}
const bodyTable = [
{
firstName: "Kaseng",
key: ""
},
{...}
]
const h1Title = "My title"
return (
)
}
``