From 2efe1af6b66247b6bc89bf43bc3d2f1dc1f2a5d9 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 15 Mar 2022 09:50:19 +0800 Subject: [PATCH] fix: row gutter ts type --- components/grid/Row.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/grid/Row.tsx b/components/grid/Row.tsx index b387d013d5..8b26150ce2 100644 --- a/components/grid/Row.tsx +++ b/components/grid/Row.tsx @@ -21,7 +21,10 @@ export const rowProps = () => ({ align: String as PropType, justify: String as PropType, prefixCls: String, - gutter: { type: [Number, Array, Object] as PropType, default: 0 }, + gutter: { + type: [Number, Array] as PropType, + default: 0 as Gutter | [Gutter, Gutter], + }, wrap: { type: Boolean, default: undefined }, });