ant-design-vue/types/page-header.d.ts
binhaoCen c75582b4b6
chror : Fix types popconfirm , page-header ... (#2692)
* chore: update type popconfirm

* chore: update type page-header

* chore: update type popover

* chore: update type progress

* chore: update type radio

* chore: update type rate

* chore: update type row

* fix: remove string type

* chore: update type Select

* fix:add $props

* chore: update type spin

* chore: update type statistic

* chore: update type step

* fix : add $props

* fix:popconfirm add  $props

* fix: page-header types

* fix: add onChange

* fix : select type

* fix: add  type

* fix: defined PaginationRenderProps
2020-08-18 10:12:57 +08:00

76 lines
1.6 KiB
TypeScript

// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: drafish <https://github.com/drafish>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from './component';
import { VNodeChild } from 'vue';
export declare class PageHeader extends AntdComponent {
$props: {
/**
* 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;
}
}