fix: row gutter type error, close #5725

This commit is contained in:
tangjinzhou 2022-06-20 09:09:03 +08:00
parent ab8457303e
commit cbd9e6b6ce

View File

@ -22,7 +22,7 @@ export const rowProps = () => ({
justify: String as PropType<typeof RowJustify[number]>,
prefixCls: String,
gutter: {
type: [Number, Array] as PropType<Gutter | [Gutter, Gutter]>,
type: [Number, Array, Object] as PropType<Gutter | [Gutter, Gutter]>,
default: 0 as Gutter | [Gutter, Gutter],
},
wrap: { type: Boolean, default: undefined },