fix(d.ts): space.d.ts #2923 typeScript definition update (#3340)

* fix(d.ts): space.d.ts  #2923

* fix: add Space ts export
pull/3386/head
言肆 2020-12-15 17:03:00 +08:00 committed by GitHub
parent c74c621e7f
commit ec064fe8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -67,6 +67,7 @@ import { Upload } from './upload';
import { Result } from './result';
import { Descriptions } from './descriptions/descriptions';
import { PageHeader } from './page-header';
import { Space } from './space';
/**
* Install all ant-design-vue components into Vue.
@ -142,4 +143,5 @@ export {
Result,
Descriptions,
PageHeader,
Space,
};

20
types/space.d.ts vendored Normal file
View File

@ -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;
}