diff --git a/src/ControlButtonGroup/ControlButtonGroup.tsx b/src/ControlButtonGroup/ControlButtonGroup.tsx index d0793cfb..05aa3a05 100644 --- a/src/ControlButtonGroup/ControlButtonGroup.tsx +++ b/src/ControlButtonGroup/ControlButtonGroup.tsx @@ -36,7 +36,9 @@ function ControlButtonGroup({ onChange: handleChangeValue, } : {}; - if (row && child.props.bordered === undefined) { + const isDOMElement = typeof child.type === 'string'; + + if (!isDOMElement && row && child.props.bordered === undefined) { childProps.bordered = true; }