format project
This commit is contained in:
parent
7651afaa0b
commit
a6d4064af8
83 changed files with 942 additions and 536 deletions
|
|
@ -1,21 +1,25 @@
|
|||
### indicator
|
||||
|
||||
Indicators are used to place an element on the corner of another element
|
||||
|
||||
[indicator docs](https://daisyui.com/components/indicator/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `indicator`
|
||||
- part: `indicator-item`
|
||||
- placement: `indicator-start`, `indicator-center`, `indicator-end`, `indicator-top`, `indicator-middle`, `indicator-bottom`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<div class="indicator">
|
||||
<span class="indicator-item">{indicator content}</span>
|
||||
<div>{main content}</div>
|
||||
<span class="indicator-item">{indicator content}</span>
|
||||
<div>{main content}</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- Add all indicator elements (with `indicator-item` class) before the main content
|
||||
- {placement} is optional and can have one of each horizontal/vertical class names. default is `indicator-end indicator-top`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue