Skip to content

Commit edaf780

Browse files
committed
Merge branch 'es6-version'
2 parents 07adcea + c5e464c commit edaf780

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ npm install react-switch-button --save
3232
At this point you can import `react-switch-button` and its styles in your application as follows:
3333

3434
```js
35-
import Select from 'react-switch-button';
35+
import SwitchButton from 'react-switch-button';
3636

3737
// Be sure to include styles at some point, probably during your bootstrapping
3838
import 'react-switch-button/dist/react-switch-button.css';
@@ -41,7 +41,7 @@ import 'react-switch-button/dist/react-switch-button.css';
4141
or
4242

4343
```js
44-
const Switch = require( 'react-switch-button' );
44+
const SwitchButton = require( 'react-switch-button' );
4545
```
4646

4747
and then include the *css* in your HTML page.

0 commit comments

Comments
 (0)