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

Badge Text Color No Longer Changeable #45

Closed
zzimbler opened this issue Jun 17, 2016 · 2 comments
Closed

Badge Text Color No Longer Changeable #45

zzimbler opened this issue Jun 17, 2016 · 2 comments

Comments

@zzimbler
Copy link

Per documentation you need to pass the color of the text into the styles property, however with the new code update you can no longer change text color to anything other than the theme colors. This is counter to the documentation http://nativebase.io/docs/v0.4.6/components#badge

Seems to be with the move to View wrapping the text when you pass the color into the style prop it will toss errors because those properties get attached to the View. To correct this you need to either create a new property that you can pass in to change the Text color or move back to wrapping a Text element only.

@sankhadeeproy007
Copy link
Contributor

Thanks for pointing it out. Will fix with next release.

@sankhadeeproy007
Copy link
Contributor

Fixed with v0.5.0

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