expo-ui-kit | expo-ui-kit - a components based React-Native UI Kit | Frontend Framework library
kandi X-RAY | expo-ui-kit Summary
kandi X-RAY | expo-ui-kit Summary
expo-ui-kit - a components based React-Native UI Kit
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of expo-ui-kit
expo-ui-kit Key Features
expo-ui-kit Examples and Code Snippets
Community Discussions
Trending Discussions on expo-ui-kit
QUESTION
I've two files that have a const style = StyleSheet.create({...})
And when I run the project on expo (expo start
) it says that it can't find variable StyleSheet.
Below I'll paste the two files that have the stylesheet
Some context: the Home.js is the main page, where the user will land when open de app. As you can see it has little information, just a simple text (it's in Portuguese, so if you want, I can translate it). The drawer.js is the drawer menu with some effects, nothing too complicated. By the way, yesterday I was testing the app and it worked perfectly, and today it stopped working.
Can anyone help me? I've looked a thousand times for simple errors like not importing or a typo.
Home.js
...ANSWER
Answered 2021-Feb-17 at 13:33I think the problem is in your Animated.View, where you try to call StyleSheet.flatten in component style property, try doing it as described here
Update
as it turned out, the problem seemed to be in missing StyleSheet in one of the components, as OP mentioned in comments below.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install expo-ui-kit
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page