import React from 'react'; import BoringAvatar, { AvatarProps } from 'boring-avatars'; import { useStoreState } from '@/state/hooks'; const palette = ['#FFAD08', '#EDD75A', '#73B06F', '#0C8F8F', '#587291']; type Props = Omit; const _Avatar = ({ variant = 'beam', ...props }: AvatarProps) => ( ); const _UserAvatar = ({ variant = 'beam', ...props }: Omit) => { const uuid = useStoreState((state) => state.user.data?.uuid); return ; }; _Avatar.displayName = 'Avatar'; _UserAvatar.displayName = 'Avatar.User'; const Avatar = Object.assign(_Avatar, { User: _UserAvatar, }); export default Avatar;