From a1a8b799d029fd1144b6da80c8d55e34a93bfbbf Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 19 Jun 2021 15:29:07 +0800 Subject: [PATCH] fix: col type error #4226 --- components/grid/Col.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/grid/Col.tsx b/components/grid/Col.tsx index 1875b9e0f..bebe9bb2d 100644 --- a/components/grid/Col.tsx +++ b/components/grid/Col.tsx @@ -29,7 +29,7 @@ function parseFlex(flex: FlexType): string { } const stringOrNumber = PropTypes.oneOfType([PropTypes.string, PropTypes.number]); -export const colSize = PropTypes.shape({ +export const colSize = PropTypes.shape({ span: stringOrNumber, order: stringOrNumber, offset: stringOrNumber,