chore: update readme
This commit is contained in:
parent
f65a753123
commit
29f0d8b6c9
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
|
@ -4,6 +4,28 @@ Circles with colors. That's it. That's the component.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set the `status` property of the `status-indicator` component to any of the following: positive, negative, active, intermediary.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<status-indicator status="positive">
|
||||||
|
All systems operational
|
||||||
|
</status-indicator>
|
||||||
|
<status-indicator status="negative">
|
||||||
|
Something's wrong
|
||||||
|
</status-indicator>
|
||||||
|
<status-indicator status="active">
|
||||||
|
It's just fine; carry on
|
||||||
|
</status-indicator>
|
||||||
|
<status-indicator>
|
||||||
|
Nothing matters
|
||||||
|
</status-indicator>
|
||||||
|
<status-indicator status="intermediary">
|
||||||
|
Slow down...
|
||||||
|
</status-indicator>
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
A project by _Ayo_
|
A project by _Ayo_
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue