-
Notifications
You must be signed in to change notification settings - Fork 957
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
Themed component documentation problem #871
Comments
iimog
changed the title
Themed component documentaton
Themed component documentation problem
Feb 9, 2020
@iimog documentation is actual for 4.4.0-beta.3, which is mentioned on the website. Can you confirm you have this problem? Live examples use same code |
Ah, you're about |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
The documentation for using themed components does not work as is.
One problem has already been reported: #464 but the docu is not yet updated. There is an additional problem causing the error:
This is caused by accessing
this.props
inAwesomeView
even though it is a function component and not a class.To Reproduce
Use the example code as given in docs/src/articles/design-system/use-theme-variables.md
Expected behavior
The code should work without error message and applying the passed styles.
Link to runnable example or repository (highly encouraged)
https://github.com/akveo/react-native-ui-kitten/blob/master/docs/src/articles/design-system/use-theme-variables.md
UI Kitten and Eva version
Environment information
The text was updated successfully, but these errors were encountered: