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 fa68213 commit 745f6f5Copy full SHA for 745f6f5
packages/pluggableWidgets/toggle-buttons-native/src/ToggleButtons.tsx
@@ -30,9 +30,7 @@ export class ToggleButtons extends Component<Props> {
30
selectedIndex={selectedIndex}
31
enabled={enabled}
32
onTabPress={this.onChangeHandler}
33
- {...(typeof this.styles.container.borderRadius === "number" && {
34
- borderRadius: this.styles.container.borderRadius
35
- })}
+ borderRadius={Number(this.styles.container.borderRadius)}
36
tabStyle={this.styles.button}
37
tabTextStyle={this.styles.text}
38
activeTabStyle={this.styles.activeButton}
0 commit comments