diff --git a/types/ant-design-vue.d.ts b/types/ant-design-vue.d.ts index 97f69d428c..096c00abe8 100644 --- a/types/ant-design-vue.d.ts +++ b/types/ant-design-vue.d.ts @@ -26,6 +26,7 @@ import { DatePicker } from './date-picker/date-picker'; import { Divider } from './divider'; import { Drawer } from './drawer'; import { Dropdown } from './dropdown/dropdown'; +import { Empty } from './empty'; import { Form } from './form/form'; import { Icon } from './icon'; import { Input } from './input/input'; @@ -93,6 +94,7 @@ export { DatePicker, Divider, Dropdown, + Empty, Form, Icon, Input, diff --git a/types/empty.d.ts b/types/empty.d.ts new file mode 100644 index 0000000000..30b2b4c885 --- /dev/null +++ b/types/empty.d.ts @@ -0,0 +1,22 @@ +// Project: https://github.com/vueComponent/ant-design-vue +// Definitions by: Svreber +// Definitions: https://github.com/vueComponent/ant-design-vue/types + +import { AntdComponent } from './component'; +import { VNode } from 'vue'; + +export declare class Empty extends AntdComponent { + /** + * customize description + * @type string | VNode + */ + description: string | VNode; + + /** + * customize image. Will tread as image url when string provided + * @default false + * @type string | VNode + */ + image: string | VNode; + +}