Skip to content

Commit 729a5c3

Browse files
committed
added badges
1 parent 74a6a58 commit 729a5c3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
[![MIT License](https://img.shields.io/github/license/gitbrent/bootstrap-switch-button-react.svg)](https://github.com/gitbrent/bootstrap-switch-button-react/blob/master/LICENSE)
1+
[![MIT License](https://img.shields.io/github/license/gitbrent/bootstrap-switch-button-react.svg)](https://github.com/gitbrent/bootstrap-switch-button-react/blob/master/LICENSE) [![Dependency Status](https://david-dm.org/gitbrent/bootstrap-switch-button-react/status.svg)](https://david-dm.org/gitbrent/bootstrap-switch-button-react) [![Known Vulnerabilities](https://snyk.io/test/npm/bootstrap-switch-button-react/badge.svg)](https://snyk.io/test/npm/bootstrap-switch-button-react) [![npm downloads](https://img.shields.io/npm/dm/bootstrap-switch-button-react.svg)](https://www.npmjs.com/package/bootstrap-switch-button-react)
22

33
# Bootstrap Switch Button for React
44

55
Checkbox replacement using stylish bootstrap-4 switch button.
66

77
Lightweight, no dependencies, easy webpack integration.
88

9-
## Installation
10-
```sh
11-
npm i bootstrap-switch-button-react --save-dev
12-
```
13-
149
## Demo
10+
11+
![Demo](https://github.com/gitbrent/bootstrap-switch-button-react/blob/master/img/demo.gif?raw=true)
12+
1513
```typescript
1614
import BootstrapSwitchButton from 'bootstrap-switch-button-react'
1715

@@ -25,10 +23,12 @@ import BootstrapSwitchButton from 'bootstrap-switch-button-react'
2523
/>
2624
```
2725

28-
![Demo](https://github.com/gitbrent/bootstrap-switch-button-react/blob/master/img/demo.gif?raw=true)
26+
## Installation
27+
```bash
28+
npm i bootstrap-switch-button-react --save-dev
29+
```
2930

3031
## Properties
31-
3232
Name |Type |Default |Description |
3333
-----------|------------|----------|----------------------------|
3434
`onlabel` |string/html |"On" |Text of the on switch-button

0 commit comments

Comments
 (0)