Add sizePropsBySize to avatarPrimitive root (#6666)
parent
8f71474303
commit
6ccc19985f
|
@ -36,6 +36,7 @@ export function Avatar(props: AvatarProps) {
|
|||
let avatar = (
|
||||
<AvatarPrimitive.Root
|
||||
className={classNames(
|
||||
sizesPropsBySize[size],
|
||||
"dark:bg-darkgray-300 item-center relative inline-flex aspect-square justify-center overflow-hidden rounded-full",
|
||||
props.className
|
||||
)}>
|
||||
|
|
Loading…
Reference in New Issue