import { memo } from "react"; import { Icon, Icons } from "@/components/Icon"; export enum UserIcons { USER_GROUP = "userGroup", COUCH = "couch", MOBILE = "mobile", TICKET = "ticket", HANDCUFFS = "handcuffs", } export interface UserIconProps { icon: UserIcons; className?: string; } const iconList: Record = { userGroup: ``, couch: ``, mobile: ``, ticket: ``, handcuffs: ``, }; export const UserIcon = memo((props: UserIconProps) => { const icon = iconList[props.icon]; if (!icon) return ; return ( ); });