Skip to content

Commit 89a685f

Browse files
committed
release 1.0.0-beta.2
1 parent 019696a commit 89a685f

File tree

5 files changed

+100
-9679
lines changed

5 files changed

+100
-9679
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Checkbox replacement using stylish bootstrap-4 switch button.
77
Lightweight, pure JavaScript, no dependencies.
88

99
## Installation
10-
```bash
11-
npm i bootstrap-switch-button-react --savedev
10+
```sh
11+
npm i bootstrap-switch-button-react --save
1212
```
1313

1414
## Demo
1515
```typescript
1616
import BootstrapSwitchButton from 'bootstrap-switch-button-react'
1717

1818
<BootstrapSwitchButton
19-
checked={false}
20-
onlabel='Admin User'
21-
offlabel='Normal User'
22-
onChange={(checked: boolean) => {
23-
this.setState({ isUserAdmin: checked })
24-
}}
19+
checked={false}
20+
onlabel='Admin User'
21+
offlabel='Normal User'
22+
onChange={(checked: boolean) => {
23+
this.setState({ isUserAdmin: checked })
24+
}}
2525
/>
2626
```
2727

src/bootstrap-switch-button.tsx renamed to lib/bootstrap-switch-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*\
22
|*| :: Bootstrap Switch Button ::
33
|*|
4-
|*| Dream Journal App - Record and Search Daily Dream Entries
4+
|*| Bootstrap Switch Button (React)
55
|*| https://github.com/gitbrent/bootstrap-switch-button-react
66
|*|
77
|*| This library is released under the MIT Public License (MIT)
File renamed without changes.

0 commit comments

Comments
 (0)