/* eslint-disable no-ternary */ import { Li, Link as StyledLink, Ul } from "./styled" import { ComponentProps } from "." import Icon from "components/Icon" import React from "react" const ONE = 1 const BreadcrumbsComponent = ({ LinkComponent, className, items }: ComponentProps) => { const Link = (LinkComponent ?? StyledLink) as React.ComponentType<{ children: React.ReactNode href?: string }> return (