adding a bunch of linting and starting project over with nothing
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Avatar, Badge } from "antd";
|
||||
|
||||
import { UserOutlined } from "@ant-design/icons";
|
||||
|
||||
const AvatarWithBadge = ({ src }: { src: string }) => (
|
||||
<>
|
||||
<span>
|
||||
<Badge dot>
|
||||
<Avatar shape="square" src={src} />
|
||||
</Badge>
|
||||
</span>
|
||||
</>
|
||||
);
|
||||
|
||||
export default AvatarWithBadge;
|
||||
Reference in New Issue
Block a user