Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

borderColor and borderRadius issue #46

Open
bear-junior opened this issue Oct 20, 2018 · 2 comments
Open

borderColor and borderRadius issue #46

bear-junior opened this issue Oct 20, 2018 · 2 comments

Comments

@bear-junior
Copy link

bear-junior commented Oct 20, 2018

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 bear-junior changed the title borderRadius issue border and borderRadius issue Oct 20, 2018
@bear-junior bear-junior changed the title border and borderRadius issue borderColor and borderRadius issue Oct 20, 2018
@jgcmarins
Copy link

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

@michaelmika
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants