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

Error styling using StyleSheet for Label component #1687

Closed
yofriadi opened this issue Mar 13, 2018 · 3 comments
Closed

Error styling using StyleSheet for Label component #1687

yofriadi opened this issue Mar 13, 2018 · 3 comments
Labels

Comments

@yofriadi
Copy link

package version :

  • react : 16.2.0
  • react-native : 0.52.0
  • native-base : ^2.3.10

when I create style with StyleSheet in Label component it throws :
TypeError: in this environment the sources for assign MUST be an object. This error is a performance optimization and not spec compliant.
but if I use inline styling it just fine.

@akhil-ga
Copy link
Contributor

@yofriadi unable to reproduce. Attaching a gif.

Gif

label

@yofriadi
Copy link
Author

@akhil-geekyants here the gif of mine. it will error after I clicked on it.
deepin-screen-recorder_desktop_20180314185155

SupriyaKalghatgi added a commit that referenced this issue Mar 16, 2018
…upport

Attempt to fix issue #1687 (Error styling using StyleSheet for Label …
@SupriyaKalghatgi
Copy link
Contributor

Fixed with 2.4.1

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

No branches or pull requests

3 participants