* fix(d.ts): space.d.ts #2923 * fix: add Space ts exportpull/3386/head
parent
c74c621e7f
commit
ec064fe8c2
|
@ -67,6 +67,7 @@ import { Upload } from './upload';
|
||||||
import { Result } from './result';
|
import { Result } from './result';
|
||||||
import { Descriptions } from './descriptions/descriptions';
|
import { Descriptions } from './descriptions/descriptions';
|
||||||
import { PageHeader } from './page-header';
|
import { PageHeader } from './page-header';
|
||||||
|
import { Space } from './space';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Install all ant-design-vue components into Vue.
|
* Install all ant-design-vue components into Vue.
|
||||||
|
@ -142,4 +143,5 @@ export {
|
||||||
Result,
|
Result,
|
||||||
Descriptions,
|
Descriptions,
|
||||||
PageHeader,
|
PageHeader,
|
||||||
|
Space,
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
// 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';
|
||||||
|
|
||||||
|
export declare class Space extends AntdComponent {
|
||||||
|
/**
|
||||||
|
* 对齐方式
|
||||||
|
*/
|
||||||
|
align: 'start' | 'end' | 'center' | 'baseline';
|
||||||
|
/**
|
||||||
|
* 间距方向
|
||||||
|
*/
|
||||||
|
direction: 'vertical' | 'horizontal';
|
||||||
|
/**
|
||||||
|
* 间距大小
|
||||||
|
*/
|
||||||
|
size: 'small' | 'middle' | 'large' | number;
|
||||||
|
}
|
Loading…
Reference in New Issue