Skip to content

mariopeixoto/react-bootstrap-rails

Repository files navigation

Important: This gem is not maintained anymore.

react-bootstrap-rails

Gem Version

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

  1. Fork it ( https://github.com/mariopeixoto/react-bootstrap-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Acknowledgements

ReactBootstrap by Matt Smith licensed under MIT license.

Copyright Mario Peixoto, released under the MIT license.

About

ReactBootstrap for Rails Asset Pipeline

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages