mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(Avatar): default size to sm
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -40,7 +40,7 @@ const avatar = {
|
||||
}
|
||||
},
|
||||
default: {
|
||||
size: 'md',
|
||||
size: 'sm',
|
||||
chipVariant: 'solid',
|
||||
chipPosition: 'top-right'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user