Skip to content

Commit e495284

Browse files
committed
Update REAME
1 parent b53fa5e commit e495284

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <status-indicator/>
22

3-
A web component to show status indicator as colored dots. [Demo](https://2z6nk70qx0.codesandbox.io/)
3+
A web component to show status indicator as colored dots. [Demo](https://2z6nk70qx0.codesandbox.io/).
44

55
## Install
66

@@ -10,18 +10,24 @@ npm i status-indicator
1010

1111
## Usage
1212

13-
Import status-indicator.css in your CSS or JavaScript
13+
Import status-indicator.css in your CSS or JavaScript.
14+
15+
CSS:
1416

1517
```css
1618
@import 'status-indicator'
1719
```
1820

21+
JavaScript:
22+
1923
```javascript
2024
import 'status-indicator/styles.css'
2125
```
2226

27+
HTML/React:
28+
2329
```html
24-
<status-indicator></status-indicator>
30+
<status-indicator active pulse></status-indicator>
2531
```
2632

2733
### API

0 commit comments

Comments
 (0)