fix: Space missing TS def (#30590)

This commit is contained in:
二货机器人 2021-05-19 17:44:13 +08:00 committed by GitHub
parent f3d5470804
commit 9b60c54995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ export const SpaceContext = React.createContext({
export type SpaceSize = SizeType | number;
export interface SpaceProps {
export interface SpaceProps extends React.HTMLAttributes<HTMLDivElement> {
prefixCls?: string;
className?: string;
style?: React.CSSProperties;