From b27c000d13f516a48ab299f4ffbb065a0fb9f3af Mon Sep 17 00:00:00 2001 From: Alexis Sniffer Date: Mon, 24 Apr 2023 21:32:56 -0500 Subject: [PATCH] fix: Responsive Col don't support 'flex' prop in ColSize (#41962) Responsive Col don't support 'flex' prop in ColSize #28961 --- components/grid/col.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/grid/col.tsx b/components/grid/col.tsx index f611d98499..ead96e4913 100644 --- a/components/grid/col.tsx +++ b/components/grid/col.tsx @@ -88,6 +88,7 @@ const Col = React.forwardRef((props, ref) => { sizeProps.offset || sizeProps.offset === 0, [`${prefixCls}-${size}-push-${sizeProps.push}`]: sizeProps.push || sizeProps.push === 0, [`${prefixCls}-${size}-pull-${sizeProps.pull}`]: sizeProps.pull || sizeProps.pull === 0, + [`${prefixCls}-${size}-flex-${sizeProps.flex}`]: sizeProps.flex || sizeProps.flex === 'auto', [`${prefixCls}-rtl`]: direction === 'rtl', }; });