react-pre
Lightweight grid framework built on top of react-virtualized / fixed-data-table for easy highly customizable grids generated from redux state.
Install
npm i -S react-pre
Usage
UserGrid.js
const Grid = /** Create a grid to show users first name, last name, and age from redux */ <Grid mapCols= /** Map redux state to object with column name keys and header component values */ first: <div>First Name</div> last: <div>Last Name</div> age: render: <div>Age</div> width: 100 mapRows= /** Map redux state to grid rows. */ stateusers />
Test
See react-pre's test project at react-pre-test
In active development, come back in a few days.