0.0.8 • Published 11 years ago
react-table-simple v0.0.8
react-table-simple

Installation
npm install react-table-simple --save
Usage
var React = require('react');
var table-view = require('react-table-simple');
// delay option is the delay on showing the update of the table-view, it does not effect the table-view clock.
var DATA = [
{ id: 0, make: 'Honda', model: 'NSX', year: '1997'},
{ id: 1, make: 'Toyota', model: 'Supra', year: '1996'},
{ id: 2, make: 'Nissan', model: '300ZX', year: '1998'}
]
React.render(
React.createElement(
TableView,
{data: DATA}
),
document.getElementById("container")
);Styles
All React UI components are made to be compatible with pure CSS which gives some nice responsive styles.
The components can also be used with your own custom style sheets. A minimal table-view.css style sheet is included as a guide.
Development
Initial set up, run:
npm installFor watch on files, live reload, JSX transpiling and browserify, run:
gulpLicense
(The MIT License)