diff --git a/components/space/index.tsx b/components/space/index.tsx index 03bd47cc26..4ffd25b527 100644 --- a/components/space/index.tsx +++ b/components/space/index.tsx @@ -10,7 +10,7 @@ import Item from './Item'; import { SpaceContextProvider } from './context'; import useStyle from './style'; -export type { SpaceContext } from './context'; +export { SpaceContext } from './context'; export type SpaceSize = SizeType | number;