@aberanger/data-table
v1.0.18
Published
Table to dynamically display data
Downloads
31
Readme
Data-Table : Dyamic table to display data
Data-Table is a ReactJS npm package built to display data into a dynamic table
Features
- Sorting by column
- Search bar to filter displayed data
- Paging system
Props
- data: Array of objects, each object represents a row in the table
Example: [{ firstName: 'Sasha', bankAccount: 251 }, { firstName: 'Esther', bankAccount: 1587 }]
- column: Array of objects, each object contains column name ('title' attribute) and column id ('data' attribute). Each column id must match an attribute in data props.
Example: [{ title: 'First Name', data: 'firstName' },{ title: 'Bank Account', data: 'bankAccount' }]
Authors
Alexandre Beranger
Licensing
This project was built under the CC BY Creative Commons licence.