Skip to content

Commit 40615ed

Browse files
committed
Mark other Avatar components as deprecated
1 parent 8f48a83 commit 40615ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

site/src/components/deprecated/Avatar/Avatar.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ export const Avatar: FC<AvatarProps> = ({
7070
);
7171
};
7272

73+
/**
74+
* @deprecated Use `Avatar` from `@components/Avatar` instead.
75+
*/
7376
export const ExternalAvatar: FC<AvatarProps> = (props) => {
7477
const theme = useTheme();
7578

@@ -88,6 +91,8 @@ type AvatarIconProps = {
8891

8992
/**
9093
* Use it to make an img element behaves like a MaterialUI Icon component
94+
*
95+
* @deprecated Use `AvatarIcon` from `@components/Avatar` instead.
9196
*/
9297
export const AvatarIcon: FC<AvatarIconProps> = ({ src, alt }) => {
9398
const hookId = useId();

0 commit comments

Comments
 (0)