chore: update type empty (#2685)

* chore: update type empty
pull/2687/head
xrkffgg 4 years ago committed by GitHub
parent 2b53c74f3a
commit 9f90d4cc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
types/empty.d.ts vendored

@ -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 {
/**
* customize description
* @type string | VNode
*/
description: string | VNode;
$props: {
/**
* customize description
* @type 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;
/**
* customize image. Will tread as image url when string provided
* @default false
* @type string | VNode
*/
image?: VNodeChild | JSX.Element;
imageStyle?: CSSProperties | string;
};
}

Loading…
Cancel
Save