1 | import type { AvatarProps, BreadcrumbProps, TagType } from 'antd';
|
2 | import { Breadcrumb } from 'antd';
|
3 | import 'antd/lib/breadcrumb/style';
|
4 | import * as React from 'react';
|
5 | import type { ContentWidth } from '../../defaultSettings';
|
6 | export interface PageHeaderProps {
|
7 | backIcon?: React.ReactNode;
|
8 | prefixCls?: string;
|
9 | title?: React.ReactNode;
|
10 | subTitle?: React.ReactNode;
|
11 | style?: React.CSSProperties;
|
12 | childrenContentStyle?: React.CSSProperties;
|
13 | breadcrumb?: Partial<BreadcrumbProps> | React.ReactElement<typeof Breadcrumb>;
|
14 | breadcrumbRender?: (props: PageHeaderProps, defaultDom: React.ReactNode) => React.ReactNode;
|
15 | tags?: React.ReactElement<TagType> | React.ReactElement<TagType>[];
|
16 | footer?: React.ReactNode;
|
17 | extra?: React.ReactNode;
|
18 | avatar?: AvatarProps;
|
19 | onBack?: (e?: React.MouseEvent<HTMLElement>) => void;
|
20 | className?: string;
|
21 | contentWidth?: ContentWidth;
|
22 | layout?: string;
|
23 | ghost?: boolean;
|
24 | children?: React.ReactNode;
|
25 | }
|
26 | declare const PageHeader: React.FC<PageHeaderProps>;
|
27 | export { PageHeader };
|