import * as React from 'react'; import type { SemanticClassName } from "../_util/classNameUtils"; import type { AnyObject } from "../_util/type"; import type { DropdownProps } from '../dropdown'; import type { BreadcrumbItemProps } from './BreadcrumbItem'; export interface BreadcrumbItemType { key?: React.Key; /** * Different with `path`. Directly set the link of this item. */ href?: string; /** * Different with `href`. It will concat all prev `path` to the current one. */ path?: string; title?: React.ReactNode; icon?: React.ReactNode; menu?: BreadcrumbItemProps['menu']; className?: SemanticClassName<{ icon?: string; }>; dropdownProps?: DropdownProps; onClick?: React.MouseEventHandler; } export interface BreadcrumbProps { prefixCls?: string; params?: T; separator?: React.ReactNode; style?: React.CSSProperties; className?: SemanticClassName<{ item?: BreadcrumbItemType['className']; separator?: string; }>; items?: BreadcrumbItemType[]; itemRender?: (item: BreadcrumbItemType, params: T, items: BreadcrumbItemType[], paths: string[], isLastItem: boolean) => React.ReactNode; } declare const Breadcrumb: { (props: BreadcrumbProps): React.JSX.Element; displayName: string; }; export default Breadcrumb;