Skip to content

Commit baf75d1

Browse files
committed
Clean-up README and apply formatting to code blocks
1 parent 03eb236 commit baf75d1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ Flexible React component for composing rotators, carousels, slideshows and more.
55
## Install
66

77
Via [npm](https://npmjs.com/package/react-rotator):
8-
```
8+
9+
```sh
910
npm install --save react-rotator
1011
```
1112

1213
Via [Yarn](https://yarn.fyi/react-rotator):
13-
```
14+
15+
```sh
1416
yarn add react-rotator
1517
```
1618

@@ -64,7 +66,7 @@ managing it’s status or responsible for initiating progression within the `<Ro
6466

6567
##### Example
6668

67-
```
69+
```js
6870
import Rotator from 'react-rotator';
6971

7072
...
@@ -99,7 +101,7 @@ some common paging indicator components that you can use, [react-paging-indicato
99101

100102
##### Example
101103

102-
```
104+
```js
103105
import Rotator from 'react-rotator';
104106
import {DotsIndicator} from 'react-paging-indicators';
105107

0 commit comments

Comments
 (0)