2020-03-07 11:45:13 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: drafish <https://github.com/drafish>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2020-08-31 06:59:56 +00:00
|
|
|
import { AntdComponent, AntdProps } from './component';
|
2020-08-18 02:12:57 +00:00
|
|
|
import { VNodeChild } from 'vue';
|
2020-03-07 11:45:13 +00:00
|
|
|
|
|
|
|
export declare class PageHeader extends AntdComponent {
|
2020-08-31 06:59:56 +00:00
|
|
|
$props: AntdProps & {
|
2020-08-18 02:12:57 +00:00
|
|
|
/**
|
|
|
|
* Custom backIcon
|
|
|
|
* @default <ArrowLeftOutlined />
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
backIcon?: VNodeChild | JSX.Element;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom prefixCls
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
prefixCls?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom title
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
title?: VNodeChild | JSX.Element;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom subTitle
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
subTitle?: VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
|
|
* Breadcrumb configuration
|
|
|
|
* @type breadcrumb
|
|
|
|
*/
|
|
|
|
breadcrumb?: object;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tag list next to title
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
tags?: VNodeChild | JSX.Element;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PageHeader's footer, generally used to render TabBar
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
footer?: VNodeChild | JSX.Element;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Operating area, at the end of the line of the title line
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
extra?: VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
|
|
* Avatar next to the title bar
|
|
|
|
* @type Avatar
|
|
|
|
*/
|
|
|
|
avatar?: object;
|
|
|
|
/**
|
|
|
|
* PageHeader type, will change background color
|
|
|
|
* @default true
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
ghost?: boolean;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Specify a callback that will be called when a user clicks backIcon.
|
|
|
|
*/
|
|
|
|
onBack(): () => void;
|
2020-08-30 14:59:47 +00:00
|
|
|
};
|
2020-03-07 11:45:13 +00:00
|
|
|
}
|