Newton's Programmatic Measurements
Get unlimited public & private packages + team-based management with npm Teams.Learn more »

react-table-simple

0.0.8 • Public • Published

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 install

For watch on files, live reload, JSX transpiling and browserify, run:

gulp

License

(The MIT License)

Install

npm i react-table-simple

DownloadsWeekly Downloads

2

Version

0.0.8

License

MIT

Last publish

Collaborators

  • avatar