import Link from "next/link"; import { Tooltip } from "@plane/ui"; import { usePlatformOS } from "hooks/use-platform-os"; type Props = { label?: string; href?: string; icon?: React.ReactNode | undefined; }; export const BreadcrumbLink: React.FC = (props) => { const { href, label, icon } = props; const { isMobile } = usePlatformOS(); return (
  • {href ? ( {icon && (
    {icon}
    )}
    {label}
    ) : (
    {icon &&
    {icon}
    }
    {label}
    )}
  • ); };