fix: add typings for Empty component (#1439)
parent
d52ed02a18
commit
59dc98dbd1
|
@ -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,
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
// Project: https://github.com/vueComponent/ant-design-vue
|
||||
// Definitions by: Svreber <https://github.com/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;
|
||||
|
||||
}
|
Loading…
Reference in New Issue