chore(Avatar): default size to sm

This commit is contained in:
Benjamin Canac
2023-05-09 14:26:52 +02:00
parent 949a476125
commit 410d2351d6
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ Use the `size` prop to change the size of the Avatar.
::component-card
---
props:
size: 'md'
size: 'sm'
baseProps:
src: 'https://avatars.githubusercontent.com/u/739984?v=4'
alt: 'Avatar'
@@ -66,7 +66,7 @@ To stack avatars as a group, use the `AvatarGroup` component.
::component-card{slug="AvatarGroup"}
---
props:
size: 'md'
size: 'sm'
max: 2
ui:
size:

View File

@@ -40,7 +40,7 @@ const avatar = {
}
},
default: {
size: 'md',
size: 'sm',
chipVariant: 'solid',
chipPosition: 'top-right'
}