File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
# < ; status-indicator/> ;
2
2
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/ ) .
4
4
5
5
## Install
6
6
@@ -10,18 +10,24 @@ npm i status-indicator
10
10
11
11
## Usage
12
12
13
- Import status-indicator.css in your CSS or JavaScript
13
+ Import status-indicator.css in your CSS or JavaScript.
14
+
15
+ CSS:
14
16
15
17
``` css
16
18
@import ' status-indicator'
17
19
```
18
20
21
+ JavaScript:
22
+
19
23
```javascript
20
24
import 'status-indicator/styles.css'
21
25
```
22
26
27
+ HTML/React:
28
+
23
29
```html
24
- <status-indicator></status-indicator>
30
+ <status-indicator active pulse ></status-indicator>
25
31
```
26
32
27
33
### API
You can’t perform that action at this time.
0 commit comments