sort-table-react
v0.2.1
Published
🏓React components to create responsive sortable tables
Downloads
70
Readme
sort-table-react
🏓React components to create responsive sortable tables
See the component storybook to know all about to use the component
Install
1.Install the component
yarn add sort-table-react
or
npm install --save sort-table-react
- Import and use the component
import Table from 'sort-table-react';
const DummyWrapper = props => (
<Table
// add some props here as follows....
/>
.);
Props
<Table
headers={headers}
tableContent={tableContent}
initialSort={'surname'}
handleRowClick={handleRowClick}
/>