format project
This commit is contained in:
parent
7651afaa0b
commit
a6d4064af8
83 changed files with 942 additions and 536 deletions
|
|
@ -1,21 +1,25 @@
|
|||
### stat
|
||||
|
||||
Stat is used to show numbers and data in a block
|
||||
|
||||
[stat docs](https://daisyui.com/components/stat/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- Component: `stats`
|
||||
- Part: `stat`, `stat-title`, `stat-value`, `stat-desc`, `stat-figure`, `stat-actions`
|
||||
- Direction: `stats-horizontal`, `stats-vertical`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<div class="stats {MODIFIER}">
|
||||
<div class="stat">{CONTENT}</div>
|
||||
<div class="stat">{CONTENT}</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- {MODIFIER} is optional and can have one of the direction class names
|
||||
- It's horizontal by default but you can make it vertical with the `stats-vertical` class
|
||||
- Content includes `stat-title`, `stat-value`, `stat-desc` inside a `stat`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue