diff --git a/components/space/index.tsx b/components/space/index.tsx index 0bbb714246..2d4050ae70 100644 --- a/components/space/index.tsx +++ b/components/space/index.tsx @@ -13,7 +13,7 @@ export const SpaceContext = React.createContext({ export type SpaceSize = SizeType | number; -export interface SpaceProps { +export interface SpaceProps extends React.HTMLAttributes { prefixCls?: string; className?: string; style?: React.CSSProperties;