feat: Add ability to change profile avatar (#12642)

This commit is contained in:
Shun Miyazawa
2025-01-22 11:11:31 +09:00
committed by GitHub
parent 2f41bd495d
commit f582d4a13e
13 changed files with 158 additions and 19 deletions

View File

@@ -2,9 +2,9 @@
import { useState } from 'react'
import cn from '@/utils/classnames'
type AvatarProps = {
export type AvatarProps = {
name: string
avatar?: string
avatar: string | null
size?: number
className?: string
textClassName?: string