import { default as React } from 'react'; import { Layouts } from '../../../helpers/hooks/use-layout'; import { AllowedHTMLTags } from '../../../helpers/polymorphic/types'; import { IntentionalAny } from '../../../types'; import { CrumbProps } from './crumb/crumb'; type ConditionalTypes = { /** * Render all anchors (except logoLink and skipLink) as this component
* See [Anchor/CustomComponent](/?path=/docs/components-anchor--custom-component) for an example */ linkAs: AllowedHTMLTags>; /** * Crumbs array */ crumbs: CrumbProps[]; } | { linkAs?: never; crumbs: CrumbProps[]; }; /** * @deprecated Use Breadcrumbs from `@tedi-design-system/react/tedi` instead. */ export type BreadcrumbsProps = ConditionalTypes & { /** * Additional custom class. */ className?: string; /** * Show only last interactive crumb. * Can be defined as an array of layouts/breakpoints or boolean * @default ['mobile', 'tablet'] */ showMinimalCrumbs?: boolean | Layouts; }; /** * @deprecated Use Breadcrumbs from `@tedi-design-system/react/tedi` instead. */ export declare const Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element | null; export default Breadcrumbs;