@aberanger/data-table

1.0.18 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @aberanger/data-table

Weekly Downloads

0

Version

1.0.18

License

ISC

Unpacked Size

27.4 kB

Total Files

12

Last publish

Collaborators

  • aberanger