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

Border Width #58

Open
andreecosta opened this issue Apr 19, 2017 · 1 comment
Open

Border Width #58

andreecosta opened this issue Apr 19, 2017 · 1 comment

Comments

@andreecosta
Copy link

Is it possible to add border to the button?
I was using native-base with a border, but this library is so much lighter, but I can't figure out how to add a border.

@jeremyflores
Copy link

It looks like the Button component just uses the standard View styling: http://facebook.github.io/react-native/releases/0.28/docs/view.html#style

So you should get it working by adding these styles for example:

borderRadius: 4,
borderColor: 'blue',
borderWidth: 2,

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

2 participants