Skip to content

Commit

Permalink
fix(AvatarGroup): preset size prop
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 28, 2023
1 parent 7805168 commit c90cd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/elements/AvatarGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const props = defineProps({
type: String,
default: 'md',
validator (value: string) {
return ['xxxs', 'xxs', 'xs', 'sm', 'md', 'lg', 'xl'].includes(value)
return Object.keys($ui.avatar.size).includes(value)
}
},
max: {
Expand Down

1 comment on commit c90cd9c

@vercel
Copy link

@vercel vercel bot commented on c90cd9c Jan 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-git-dev-nuxtlabs.vercel.app
ui-nuxtlabs.vercel.app
nuxthq-ui.vercel.app

Please sign in to comment.