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 beb06fc commit bb01a70Copy full SHA for bb01a70
packages/core/src/Button/index.tsx
@@ -101,7 +101,7 @@ export default class ButtonView<T> extends React.Component<ButtonProps> {
101
? color(buttonColor).darken(0.9).string()
102
: color(buttonColor).lighten(0.9).string();
103
}
104
- if (rounded && typeof rounded === 'number') {
+ if (rounded && (typeof rounded === 'number' || typeof rounded === 'boolean')) {
105
borderRadius = rounded;
106
107
if (backgroundColor) {
0 commit comments