docs: export space-compact types (#6716)

feat-v4
PanStar 2023-07-14 10:08:30 +08:00 committed by GitHub
parent 058e8ec542
commit 8b5d71663a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -1407,7 +1407,7 @@ In 2.0, an on-demand introduction method will be adopted:
<smile-outlined />
<a-button>
<template v-slot:icon><smile-outlined /></template>
</a-buttom>
</a-button>
</template>
<script>
import SmileOutlined from'@ant-design/icons-vue/SmileOutlined';

View File

@ -1406,7 +1406,7 @@ Github[https://github.com/surely-vue/table]
<smile-outlined />
<a-button>
<template v-slot:icon><smile-outlined /></template>
</a-buttom>
</a-button>
</template>
<script>
import SmileOutlined from '@ant-design/icons-vue/SmileOutlined';

View File

@ -183,7 +183,7 @@ export type { SliderProps } from './slider';
export { default as Slider } from './slider';
export type { SpaceProps } from './space';
export { default as Space } from './space';
export { default as Space, Compact } from './space';
export type { SpinProps } from './spin';
export { default as Spin } from './spin';

2
typings/global.d.ts vendored
View File

@ -183,6 +183,8 @@ declare module 'vue' {
ASpace: typeof import('ant-design-vue')['Space'];
ASpaceCompact: typeof import('ant-design-vue')['Compact'];
ASpin: typeof import('ant-design-vue')['Spin'];
AStatistic: typeof import('ant-design-vue')['Statistic'];