1.0.0 • Published 6 years ago

snode-table v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

snode-table

html custom table

Install

npm install snode-table --save

Example

<Table
    tableClass={"table rbt-table"}
    theadClass={"thead-inverse"}
    data={rows}
    columns={columns}
    customCell={customCell}/>

Props

NameDetail & TypeExample
tableClassclass name for "table"
theadClassclass name for "thead"
datacollection of object data in array{name: "Emran", email: "xmanemran@gmail.com"}
columnscollection of title and data key in array{name: "name", title: "Name"}, {name: "email", title: "Email"}
customCellcollection of object(data_key as key) and each object value have to functionname: (this_column_data, key, this_row_data)=>{}
1.0.0

6 years ago