fix(AvatarGroup): preset size prop

This commit is contained in:
Benjamin Canac
2023-01-28 01:49:24 +01:00
parent 7805168685
commit c90cd9c4f3

View File

@@ -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: {