fix: row gutter type error, close #5725

pull/5732/head
tangjinzhou 2022-06-20 09:09:03 +08:00
parent ab8457303e
commit cbd9e6b6ce
1 changed files with 1 additions and 1 deletions

View File

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