Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

(React Native) Render error Value is undefined expected object

$
0
0

So I was making a todo app and i encountered an error

Error

Render ErrorValue is undefined expected object

enter image description here

Code of Main.tsx

<Center _dark={{bg: 'blueGray.900'}} _light={{bg: 'blueGray.50'}} px={4} flex={1}><VStack space={5} alignItems="center"><Box w="100px" h="100px"><AnimatedCheckBox /></Box><Box p={10} bg={useColorModeValue('red.500', 'yellow.500')}><Text>              Hello World</Text></Box><ThemeToggle /></VStack></Center>

and the code of the Animated Check Box Component

enter image description here

Does anyone knows what is causing this error. If you do plz do tell me with the solution it will help me a lot.


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>