This PR is intended to allow the use of different border radius values on the RectButton component. As mentioned in comments on #477 , it doesn’t work on Android.
I tried to follow the same implementation pattern from borderRadius, but using setCornerRadii method when informed at least one prop from specific corner.
Also, it is possible to merge the values from borderRadius or from specific corner.
Test plan
I added a component (RectButtonBorders) on example app with some variations of values to test the changes.
Description
This PR is intended to allow the use of different border radius values on the RectButton component. As mentioned in comments on #477 , it doesn’t work on Android. I tried to follow the same implementation pattern from
borderRadius
, but usingsetCornerRadii
method when informed at least one prop from specific corner. Also, it is possible to merge the values fromborderRadius
or from specific corner.Test plan
I added a component (RectButtonBorders) on example app with some variations of values to test the changes.