0.0.8 • Published 9 years ago
react-bootstrap-v4 v0.0.8
react-bootstrap
Bootstrap 4 components built with React.
You are probably looking for a different React Bootstrap
I am using this in a current project of mine and am currently only implementing the components that I am using.
Docs
Alert
Simple alert div http://v4-alpha.getbootstrap.com/components/alerts/
Properties:
- type:
danger
(string, optional) - Alert type. Can be success, info, warning, or danger (default)
Examples:
<Alert type="success">This is a success message</Alert>
<Alert type="info">This is an info message</Alert>
<Alert type="warning">This is a warning message</Alert>
<Alert type="danger">This is an error message</Alert>
Label
Simple label span http://v4-alpha.getbootstrap.com/components/label/
Properties:
- type:
default
(string, optional) - label type. Can be default (default), primary, success, info, warning, or danger
Examples:
<Label type="default">Default</Label>
<Label type="primary">Primary</Label>
<Label type="success">Success</Label>
<Label type="info">Info</Label>
<Label type="warning">Warning</Label>
<Label type="danger">Danger</Label>
Install
npm install react-bootstrap-v4
Local Setup
- Install the dependencies with
npm install
- Run tests
npm test
- Run tests in watch mode
npm run test-watch
- Run the docs site in development mode with
npm run docs
. This will watch for file changes as you work. Simply refresh the page to see the updates. - Build with
npm run build
Contributions
Feel free to join me. :)