Commit 92a06805 authored by Joe Woodhouse's avatar Joe Woodhouse Committed by Dan Abramov
Browse files

Add note about when to import bootstrap CSS. (#1618)

* Add note about when to import bootstrap CSS.

* Tweak
parent 646690b2
Showing with 3 additions and 1 deletion
+3 -1
......@@ -560,11 +560,13 @@ npm install react-bootstrap --save
npm install bootstrap@3 --save
```
Import Bootstrap CSS and optionally Bootstrap theme CSS in the ```src/index.js``` file:
Import Bootstrap CSS and optionally Bootstrap theme CSS in the beginning of your ```src/index.js``` file:
```js
import 'bootstrap/dist/css/bootstrap.css';
import 'bootstrap/dist/css/bootstrap-theme.css';
// Put any other imports below so that CSS from your
// components takes precedence over default styles.
```
Import required React Bootstrap components within ```src/App.js``` file or your custom component files:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment