Add sizePropsBySize to avatarPrimitive root (#6666)

pull/6667/head
Alex van Andel 2023-01-24 14:01:27 +00:00 committed by GitHub
parent 8f71474303
commit 6ccc19985f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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
)}>