1.0.15 • Published 1 year ago

sheetsort-table v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

SheetSort-Table

DataTable

  • It's a React Component that take 3 type of parameters

Parameters Description:

NameTypeDescription
thDataObjectthe titles needed for the table "thead"
tdDataArrayall the datas needed for the table "tbody"
dataTitleStringthe table "h1" -> section > h1 + table

Datas Example:

thData = {
 key: string,
 ...
}
tdData = [
 {key: string}
 ...
]
dataTitle = "App title"

How to use it

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 (
        <DataTable thData={headTable} tdData={bodyTable} dataTitle={h1Title} />
    )
}
1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago