react-native-view-overflow icon indicating copy to clipboard operation
react-native-view-overflow copied to clipboard

borderColor and borderRadius issue

Open bear-junior opened this issue 7 years ago • 2 comments

What's status of this issue?

How to add following code:

import com.facebook.react.uimanager.annotations.ReactProp;

@ReactProp(name = "borderRadius", defaultFloat = 0f) public void setBorderRadius(RNViewOverflowLayout view, float borderRadius) { view.setBorderRadius(borderRadius); }

for now it doesn't work, how should RNViewOverflowManager.java file look like? also borderColor doesn't work at all...

bear-junior avatar Oct 20 '18 06:10 bear-junior

hello @bear-junior , could you make this idea clearer?

jgcmarins avatar Oct 22 '18 13:10 jgcmarins

I solved it by simply wrapping a standard View component with the border-style inside of a ViewOverflow component and set the background of the parent view to transparent.

michaelmika avatar Nov 30 '18 20:11 michaelmika