Skip to content

HasRoie/react-grid

Repository files navigation

React Grid

Data grid for React.

Setup

run npm install You can then just run gulp this will:

  • compile all the jsx into js
  • wrap up all the examples registered under \examples
  • compile less -> css
  • fire up a server and open a test page

Adding examples

To add any other examples, you just need to:

  1. Add a .js file under the examples folder that returns a react component by module.exports = someNewExample
  2. in examples\index.js register this by adding components.push({id:'Name for your component', module:require('./nameOfYourFile') });

This will then add a new menu to the examples.html page

Tests

we are using jasmine for tests and these can either be run in a standalone page by running gulp tests-launch *note: you need to run bower install first For automation, we are using karma To run the tests use gulp tests To watch for file changes, use gulp tdd this is a work in progress, and wont watch your files unless you first run gulp tests-build to do our react/browserify transforms

Credits

React Grid is free software created by [Prometheus Research][] and is released under the MIT.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •