docs(avatar): add group props & preset

This commit is contained in:
Benjamin Canac
2023-10-27 15:56:05 +02:00
parent 23d5dc7b98
commit 4005defb39

View File

@@ -45,7 +45,7 @@ options:
- name: 'chipColor'
restriction: 'included'
values:
- 'gray'
- 'gray'
baseProps:
src: 'https://avatars.githubusercontent.com/u/739984?v=4'
alt: 'Avatar'
@@ -82,7 +82,7 @@ props:
---
::
### Group
## Group
To stack avatars as a group, use the `AvatarGroup` component.
@@ -111,6 +111,12 @@ code: |
:component-props
:u-divider{label="AvatarGroup" type="dashed" class="my-12"}
:component-props{slug="avatar-group"}
## Preset
:component-preset
:component-preset{slug="avatar-group"}