We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9108367 commit 7a264aeCopy full SHA for 7a264ae
src/ControlButtonGroup/ControlButtonGroup.tsx
@@ -36,7 +36,9 @@ function ControlButtonGroup({
36
onChange: handleChangeValue,
37
} : {};
38
39
- if (row && child.props.bordered === undefined) {
+ const isDOMElement = typeof child.type === 'string';
40
+
41
+ if (!isDOMElement && row && child.props.bordered === undefined) {
42
childProps.bordered = true;
43
}
44
0 commit comments