mirror of
https://github.com/coder/coder.git
synced 2026-11-02 21:50:08 +08:00
chore: add new avatar component (#15882)
Related to https://github.com/coder/coder/issues/14997 - Add a new `Avatar` component based on the [new avatar design](https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=711-383&t=xqxOSUk48GvDsjGK-0). - Deprecate existent `Avatar` component.
This commit is contained in:
@@ -2,7 +2,10 @@ import { css } from "@emotion/css";
|
||||
import { useTheme } from "@emotion/react";
|
||||
import Button, { type ButtonProps } from "@mui/material/Button";
|
||||
import IconButton, { type IconButtonProps } from "@mui/material/IconButton";
|
||||
import { type AvatarProps, ExternalAvatar } from "components/Avatar/Avatar";
|
||||
import {
|
||||
type AvatarProps,
|
||||
ExternalAvatar,
|
||||
} from "components/deprecated/Avatar/Avatar";
|
||||
import {
|
||||
type FC,
|
||||
type ForwardedRef,
|
||||
|
||||
Reference in New Issue
Block a user