Skip to content

Commit 8b5d716

Browse files
authored
docs: export space-compact types (#6716)
1 parent 058e8ec commit 8b5d716

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

CHANGELOG.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ In 2.0, an on-demand introduction method will be adopted:
14071407
<smile-outlined />
14081408
<a-button>
14091409
<template v-slot:icon><smile-outlined /></template>
1410-
</a-buttom>
1410+
</a-button>
14111411
</template>
14121412
<script>
14131413
import SmileOutlined from'@ant-design/icons-vue/SmileOutlined';

CHANGELOG.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ Github:[https://github.com/surely-vue/table]
14061406
<smile-outlined />
14071407
<a-button>
14081408
<template v-slot:icon><smile-outlined /></template>
1409-
</a-buttom>
1409+
</a-button>
14101410
</template>
14111411
<script>
14121412
import SmileOutlined from '@ant-design/icons-vue/SmileOutlined';

components/components.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export type { SliderProps } from './slider';
183183
export { default as Slider } from './slider';
184184

185185
export type { SpaceProps } from './space';
186-
export { default as Space } from './space';
186+
export { default as Space, Compact } from './space';
187187

188188
export type { SpinProps } from './spin';
189189
export { default as Spin } from './spin';

typings/global.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ declare module 'vue' {
183183

184184
ASpace: typeof import('ant-design-vue')['Space'];
185185

186+
ASpaceCompact: typeof import('ant-design-vue')['Compact'];
187+
186188
ASpin: typeof import('ant-design-vue')['Spin'];
187189

188190
AStatistic: typeof import('ant-design-vue')['Statistic'];

0 commit comments

Comments
 (0)