-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Current behaviour
Setting roundness seems to have no effect on a Button component
Expected behaviour
Setting theme={{ roundness: 5 }} should set it to the custom value
How to reproduce?
Setting theme={{ roundness: 5 }} at the component level, or passing this value in at the global theme level seems to have no effect.
I found it will change if I set it in the Button component theme={{ isV3: false, roundness: 5 }}. I'm not sure why I need to set it to false, seems like a bug to me? Adding isV3 in the global theme object does not make a difference unfortunately, and ideally I'd like to define it a the global theme level.
Preview
What have you tried so far?
Playing around with the v3 version
Your Environment
| software | version |
|---|---|
| ios | x |
| android | x |
| react-native | 0.71.8 |
| react-native-paper | 5.8.0 |
| node | x.x.x |
| npm or yarn | npm |
| expo sdk | 48.0.18 |
fxricky

