Important: This gem is not maintained anymore.
react-bootstrap-rails
ReactBootstrap for Rails Asset Pipeline
ReactBootstrap version: 0.30.2
Installation
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
Usage
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;
Contributing
- 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
Acknowledgements
ReactBootstrap by Matt Smith licensed under MIT license.
Copyright Mario Peixoto, released under the MIT license.