Skip to content

Commit 0dacfe3

Browse files
authored
Minor tweaks
1 parent 11ec5d6 commit 0dacfe3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

template/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,20 +264,18 @@ npm install bootstrap@3 --save
264264

265265
**Step 2.** Import Bootstrap CSS and optionally Bootstrap theme CSS in the ```index.js``` file.
266266

267-
```
268-
import './index.css';
267+
```js
269268
import 'bootstrap/dist/css/bootstrap.css';
270269
import 'bootstrap/dist/css/bootstrap-theme.css';
271270
```
272271

273272
**Step 3.** Import required React Bootstrap components within ```App.js``` file or your custom component files.
274273

275-
```
276-
import React, { Component } from 'react';
274+
```js
277275
import { Navbar, Jumbotron, Button } from 'react-bootstrap';
278276
```
279277

280-
Now you are ready to use the imported React Bootstrap components within your component hierarchy defined in the render method. Here is an example [App.js](https://github.com/manavsehgal/react-eshop/blob/master/src/App.js) redone using React Bootstrap.
278+
Now you are ready to use the imported React Bootstrap components within your component hierarchy defined in the render method. Here is an example [`App.js`](https://github.com/manavsehgal/react-eshop/blob/master/src/App.js) redone using React Bootstrap.
281279

282280
### Display Lint Output in the Editor
283281

0 commit comments

Comments
 (0)