Skip to main content

AvatarProps

AvatarProps = Omit<ComponentPropsWithRef<"span">, "className"> & Omit<ComponentPropsWithRef<typeof Avatar>, "className" | "asChild"> & VariantProps<typeof AvatarStyles> & object

Type Declaration

classNames?

optional classNames: object

classNames.avatar?

optional avatar: string

classNames.content?

optional content: string

classNames.fallback?

optional fallback: string

classNames.image?

optional image: string

fallbackProps?

optional fallbackProps: Omit<ComponentPropsWithRef<typeof Fallback>, "className">

imageProps?

optional imageProps: Omit<ComponentPropsWithRef<typeof Image>, "className">

size?

optional size: "medium" | "small"