// helpers import { cn } from "helpers/common.helper"; // types import { TProjectLogoProps } from "@plane/types"; type Props = { className?: string; logo: TProjectLogoProps; }; export const ProjectLogo: React.FC = (props) => { const { className, logo } = props; if (logo.in_use === "icon" && logo.icon) return ( {logo.icon.name} ); if (logo.in_use === "emoji" && logo.emoji) return ( {logo.emoji.value?.split("-").map((emoji) => String.fromCodePoint(parseInt(emoji, 10)))} ); return ; };