/** * Copyright (c) 2023-present Plane Software, Inc. and contributors * SPDX-License-Identifier: AGPL-3.0-only * See the LICENSE file for details. */ import Link from "next/link"; import { Tooltip } from "@plane/propel/tooltip"; type Props = { label?: string; href?: string; icon?: React.ReactNode | undefined; }; export function BreadcrumbLink(props: Props) { const { href, label, icon } = props; return (
  • {href ? ( {icon &&
    {icon}
    }
    {label}
    ) : (
    {icon &&
    {icon}
    }
    {label}
    )}
  • ); }