1 | import * as React from 'react';
|
2 | import type { DropdownProps } from '../dropdown/dropdown';
|
3 | export interface SeparatorType {
|
4 | separator?: React.ReactNode;
|
5 | key?: React.Key;
|
6 | }
|
7 | type MenuType = NonNullable<DropdownProps['menu']>;
|
8 | interface MenuItem {
|
9 | key?: React.Key;
|
10 | title?: React.ReactNode;
|
11 | label?: React.ReactNode;
|
12 | path?: string;
|
13 | href?: string;
|
14 | }
|
15 | export interface BreadcrumbItemProps extends SeparatorType {
|
16 | prefixCls?: string;
|
17 | href?: string;
|
18 | menu?: Omit<MenuType, 'items'> & {
|
19 | items?: MenuItem[];
|
20 | };
|
21 | dropdownProps?: DropdownProps;
|
22 | onClick?: React.MouseEventHandler<HTMLAnchorElement | HTMLSpanElement>;
|
23 | className?: string;
|
24 | children?: React.ReactNode;
|
25 |
|
26 | overlay?: DropdownProps['overlay'];
|
27 | }
|
28 | export declare const InternalBreadcrumbItem: React.FC<BreadcrumbItemProps>;
|
29 | type CompoundedComponent = React.FC<BreadcrumbItemProps> & {};
|
30 | declare const BreadcrumbItem: CompoundedComponent;
|
31 | export default BreadcrumbItem;
|