@ehfuse/taskbox 0.5.201 → 0.5.203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/internal/AccountAvatar.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 계정 사진 아바타다(www components/ui/AccountAvatar 경량 사본).
|
|
3
3
|
* 로드 성공 URL 을 메모리 캐시해 재등장 시 fallback 아이콘 깜빡임 없이 즉시 표시한다.
|
|
4
|
-
* 로딩 중에는 투명 유지, 실패/빈 src 는 사람 아이콘 폴백.
|
|
4
|
+
* 로딩 중에는 투명 유지, 실패/빈 src 는 이름 첫 글자(없으면 사람 아이콘) 폴백.
|
|
5
5
|
*/
|
|
6
6
|
import { type SxProps, type Theme } from "@mui/material";
|
|
7
7
|
/** AccountAvatar 속성이다. */
|
|
8
8
|
interface AccountAvatarProps {
|
|
9
9
|
src: string;
|
|
10
|
+
name?: string;
|
|
10
11
|
avatarSx?: SxProps<Theme>;
|
|
11
12
|
iconFontSize?: number;
|
|
12
13
|
}
|
|
13
14
|
/** 계정 사진 아바타를 렌더링한다. */
|
|
14
|
-
export declare function AccountAvatar({ src, avatarSx, iconFontSize }: AccountAvatarProps): import("react").JSX.Element;
|
|
15
|
+
export declare function AccountAvatar({ src, name, avatarSx, iconFontSize }: AccountAvatarProps): import("react").JSX.Element;
|
|
15
16
|
export {};
|
package/package.json
CHANGED