import { pathForTag } from '@/site/paths'; import { FaTag } from 'react-icons/fa'; import { formatTag } from '.'; import EntityLink, { EntityLinkExternalProps, } from '@/components/primitives/EntityLink'; export default function PhotoTag({ tag, type, badged, contrast, prefetch, countOnHover, }: { tag: string countOnHover?: number } & EntityLinkExternalProps) { return ( } type={type} badged={badged} contrast={contrast} prefetch={prefetch} hoverEntity={countOnHover} /> ); }