Skip to content

Commit

Permalink
fix(Avatar): rename rounded classes to match props
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Feb 21, 2024
1 parent 5949cfd commit 8bf9815
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 53 deletions.
10 changes: 5 additions & 5 deletions src/plugins/components/avatar/avatar.variants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export const size = {
} as const satisfies AvatarVariant<'size'>

export const rounded = {
none: 'nui-avatar-straight',
sm: 'nui-avatar-rounded',
md: 'nui-avatar-smooth',
lg: 'nui-avatar-curved',
full: 'nui-avatar-full',
none: 'nui-avatar-rounded-none',
sm: 'nui-avatar-rounded-sm',
md: 'nui-avatar-rounded-md',
lg: 'nui-avatar-rounded-lg',
full: 'nui-avatar-rounded-full',
} as const satisfies AvatarVariant<'rounded'>

export const mask = {
Expand Down
Loading

0 comments on commit 8bf9815

Please sign in to comment.