import React, { FC } from "react"; import Avatar from "../avatar/avatar"; import Typography, { TypographySizeType } from "../typography/typography"; export interface UserProfileProps { name: string; subTitle: string; avatar?: string; status?: "online" | "offline" | "busy" | "away"; size?: "sm" | "md" | "lg" | "xl"; } const nameSizes = { sm: "sm", md: "sm", lg: "md", xl: "lg", }; const roleSizes = { sm: "xs", md: "sm", lg: "md", xl: "md", }; export const UserProfile: FC = ({ name, subTitle, avatar, status = "away", size = "md", }) => { return (
{avatar && ( )}
{name} {subTitle}
); }; export default UserProfile;