Add sizePropsBySize to avatarPrimitive root (#6666)

This commit is contained in:
Alex van Andel authored and GitHub committed 2023-01-24 14:01:27 +00:00
1 parent 8f71474303
commit 6ccc19985f
1 file changed
+1
+1
View File
@@ -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
)}>