feat: support kind 20
This commit is contained in:
@@ -14,6 +14,7 @@ const UserAvatarSizeCnMap = {
|
||||
big: 'w-16 h-16',
|
||||
normal: 'w-10 h-10',
|
||||
small: 'w-7 h-7',
|
||||
xSmall: 'w-5 h-5',
|
||||
tiny: 'w-4 h-4'
|
||||
}
|
||||
|
||||
@@ -24,7 +25,7 @@ export default function UserAvatar({
|
||||
}: {
|
||||
userId: string
|
||||
className?: string
|
||||
size?: 'large' | 'big' | 'normal' | 'small' | 'tiny'
|
||||
size?: 'large' | 'big' | 'normal' | 'small' | 'xSmall' | 'tiny'
|
||||
}) {
|
||||
const { profile } = useFetchProfile(userId)
|
||||
const defaultAvatar = useMemo(
|
||||
|
||||
Reference in New Issue
Block a user