Important: This gem is not maintained anymore.
ReactBootstrap for Rails Asset Pipeline
ReactBootstrap version: 0.30.2
Add this line to your application's Gemfile:
gem 'react-bootstrap-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install react-bootstrap-rails
Require react_bootstrap in your application.js:
//= require react_bootstrap
In order to use it, access it using the global defined variable ReactBootstrap. For example:
var ButtonToolbar = ReactBootstrap.ButtonToolbar;
- Fork it ( https://github.com/mariopeixoto/react-bootstrap-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
ReactBootstrap by Matt Smith licensed under MIT license.
Copyright Mario Peixoto, released under the MIT license.