From cbd9e6b6ce54d3d4b4ff9f4dc24a646df89cd6d0 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 20 Jun 2022 09:09:03 +0800 Subject: [PATCH] fix: row gutter type error, close #5725 --- components/grid/Row.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/grid/Row.tsx b/components/grid/Row.tsx index 8b26150ce..857827ed0 100644 --- a/components/grid/Row.tsx +++ b/components/grid/Row.tsx @@ -22,7 +22,7 @@ export const rowProps = () => ({ justify: String as PropType, prefixCls: String, gutter: { - type: [Number, Array] as PropType, + type: [Number, Array, Object] as PropType, default: 0 as Gutter | [Gutter, Gutter], }, wrap: { type: Boolean, default: undefined },