Skip to content

Commit

Permalink
fix: row gutter type error, close #5725
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jun 20, 2022
1 parent ab84573 commit cbd9e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/grid/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit cbd9e6b

Please sign in to comment.