import React from 'react' type DefaultAvatarProps = { displayName?: string size?: 'extra-small' | 'small' | 'medium' | 'large' | 'full' className?: string } export const DefaultAvatar = ({ displayName, }: DefaultAvatarProps): JSX.Element => { return ( {displayName && displayName[0].toUpperCase()} ) } const Background = ({ className }: { className: string }) => ( )
{displayName && displayName[0].toUpperCase()}