import { Box } from '@metafam/ds'; import { FaDiscord, FaGithub, FaGlobe, FaTelegram, FaTwitter, FaYoutube, } from 'react-icons/fa'; import { LinkType_Enum, Maybe } from '#graphql/autogen/hasura-sdk'; const LinkIcon = ({ type }: { type: Maybe | undefined }) => { if (!type) return <>; const currentIcon = { TWITTER: , DISCORD: , GITHUB: , TELEGRAM: , FARCASTER: , LENSTER: , YOUTUBE: , OTHER: , }[type]; return ( {currentIcon} ); }; export default LinkIcon;