tableComponent
v3.3.0
Published
A flexible and performant table component for react
Downloads
22
Maintainers
Readme
tableComponent
A flexible and performant table component for react
Live Playground
For examples of the tableComponent in action, go to storybook
OR
To run that demo on your own computer:
- Clone this repository
npm install
npm run storybook
- Visit http://localhost:6006/
Getting Started
Install
NPM
npm install tableComponent --save
Yarn
yarn add tableComponent
Usage
import React from "react";
import ReactDOM from 'react-dom';
import Table from "tableComponent";
ReactDOM.render(
<Table
data={[
{ "name": "Raquel Wooten", "email": "[email protected]", "registered": "2015-02-23T12:56:54 +06:00", "latitude": 86.017882, "longitude": -80.094174 },
{ "name": "Diaz Barlow", "email": "[email protected]", "registered": "2015-07-15T10:57:26 +05:00", "latitude": -82.476876, "longitude": 134.539503 },
{ "name": "Traci Wiggins", "email": "[email protected]", "registered": "2016-07-01T09:53:59 +05:00", "latitude": -16.153468, "longitude": 147.007858 },
{ "name": "Ferguson Head", "email": "[email protected]", "registered": "2015-05-07T05:12:18 +05:00", "latitude": -18.389837, "longitude": 123.649699 },
{ "name": "Audra Callahan", "email": "[email protected]", "registered": "2015-06-15T04:39:44 +05:00", "latitude": 32.395529, "longitude": -140.60243 }
]}/>,
document.getElementById('app')
)