mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 19:00:35 +01:00
fix(AvatarGroup): preset size prop
This commit is contained in:
@@ -31,7 +31,7 @@ const props = defineProps({
|
|||||||
type: String,
|
type: String,
|
||||||
default: 'md',
|
default: 'md',
|
||||||
validator (value: string) {
|
validator (value: string) {
|
||||||
return ['xxxs', 'xxs', 'xs', 'sm', 'md', 'lg', 'xl'].includes(value)
|
return Object.keys($ui.avatar.size).includes(value)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
max: {
|
max: {
|
||||||
|
|||||||
Reference in New Issue
Block a user