format project
This commit is contained in:
parent
7651afaa0b
commit
a6d4064af8
83 changed files with 942 additions and 536 deletions
|
|
@ -1,22 +1,26 @@
|
|||
### avatar
|
||||
|
||||
Avatars are used to show a thumbnail
|
||||
|
||||
[avatar docs](https://daisyui.com/components/avatar/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `avatar`, `avatar-group`
|
||||
- modifier: `avatar-online`, `avatar-offline`, `avatar-placeholder`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<div class="avatar {MODIFIER}">
|
||||
<div>
|
||||
<img src="{image-url}" />
|
||||
</div>
|
||||
<div>
|
||||
<img src="{image-url}" />
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- {MODIFIER} is optional and can have one of the modifier class names
|
||||
- Use `avatar-group` for containing multiple avatars
|
||||
- You can set custom sizes using `w-*` and `h-*`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue