universe:react-bootstrap

v0.23.7Published 9 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

ReactBootstrap project wrapped for Meteor using Universe

For available components and more info go to original docs at react-bootstrap.github.io

Installation

Simply add this as a Meteor package:

meteor add universe:react-bootstrap

This package will register SystemJS module named bootstrap.

Usage

With Universe Modules

Import components inside *.import.jsx files:

import BS from 'bootstrap';

<BS.Button /> // React component

or import just required components:

import { Button } from 'bootstrap';

<Button /> // React component

For more info go to universe:modules documentation

As a global

This package additionally export ReactBootstrap as a global, so you can write inside any .jsx file:

let { Button } from ReactBootstrap;

<Button /> // React component

or

<ReactBootstrap.Button /> // React component

This package is part of Universe, a framework based on Meteor platform maintained by Vazco. It works as standalone Meteor package, but you can get much more features when using the whole system.