chore: update type empty (#2685)

* chore: update type empty
pull/2687/head
xrkffgg 2020-08-17 11:35:29 +08:00 committed by GitHub
parent 2b53c74f3a
commit 9f90d4cc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 13 deletions

11
types/empty.d.ts vendored
View File

@ -3,20 +3,23 @@
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from './component';
import { VNode } from 'vue';
import { VNodeChild, CSSProperties } from 'vue';
export declare class Empty extends AntdComponent {
$props: {
/**
* customize description
* @type string | VNode
*/
description: string | VNode;
description?: VNodeChild | JSX.Element;
/**
* customize image. Will tread as image url when string provided
* @default false
* @type string | VNode
*/
image: string | VNode;
imageStyle: object;
image?: VNodeChild | JSX.Element;
imageStyle?: CSSProperties | string;
};
}