From d2b72143f0e15c8716b4ea8f68b2b72eff5cf510 Mon Sep 17 00:00:00 2001 From: undefined Date: Thu, 9 Sep 2021 08:14:49 +0800 Subject: [PATCH] fix: list gutter support array --- components/list/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/list/index.tsx b/components/list/index.tsx index d5bf8a26eb..7b526cff74 100644 --- a/components/list/index.tsx +++ b/components/list/index.tsx @@ -24,7 +24,7 @@ export { ListItemMetaProps } from './ItemMeta'; export type ColumnType = 'gutter' | 'column' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; export const ListGridType = { - gutter: PropTypes.number, + gutter: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(Number)]), column: PropTypes.number, xs: PropTypes.number, sm: PropTypes.number,