index.d.ts 741 Bytes
Newer Older
徐立's avatar
徐立 committed
1 2
import * as React from 'react';
export interface IPageHeaderProps {
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
	title?: React.ReactNode | string;
	logo?: React.ReactNode | string;
	action?: React.ReactNode | string;
	content?: React.ReactNode;
	extraContent?: React.ReactNode;
	routes?: any[];
	params?: any;
	breadcrumbList?: Array<{ title: React.ReactNode, href?: string }>;
	tabList?: Array<{ key: string, tab: React.ReactNode }>;
	tabActiveKey?: string;
	tabDefaultActiveKey?: string;
	onTabChange?: (key: string) => void;
	tabBarExtraContent?: React.ReactNode;
	linkElement?: React.ReactNode;
	style?: React.CSSProperties;
	home?: React.ReactNode;
	wide?: boolean;
	hiddenBreadcrumb?: boolean;
徐立's avatar
徐立 committed
21 22 23
}

export default class PageHeader extends React.Component<IPageHeaderProps, any> {}