1.0.0 • Published 6 years ago
snode-table v1.0.0
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
Name | Detail & Type | Example |
---|---|---|
tableClass | class name for | "table" |
theadClass | class name for | "thead" |
data | collection of object data in array | {name: "Emran", email: "xmanemran@gmail.com"} |
columns | collection of title and data key in array | {name: "name", title: "Name"}, {name: "email", title: "Email"} |
customCell | collection of object(data_key as key) and each object value have to function | name: (this_column_data, key, this_row_data)=>{} |
1.0.0
6 years ago