Skip to content

Commit 4530302

Browse files
committed
Minor tweaks
1 parent d9d6c92 commit 4530302

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
@@ -244,20 +244,18 @@ npm install bootstrap@3 --save
244244

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

247-
```
248-
import './index.css';
247+
```js
249248
import 'bootstrap/dist/css/bootstrap.css';
250249
import 'bootstrap/dist/css/bootstrap-theme.css';
251250
```
252251

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

255-
```
256-
import React, { Component } from 'react';
254+
```js
257255
import { Navbar, Jumbotron, Button } from 'react-bootstrap';
258256
```
259257

260-
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.
258+
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.
261259

262260
### Display Lint Output in the Editor
263261

0 commit comments

Comments
 (0)