Reputation:
t try this code
<View style={styles.container}>
<StatusBar
backgroundColor="blue"
barStyle="light-content"
/>
<Text> just test </Text>
</view>
but then i run through expo its give a error
Cannot add a child that doesn't have a YogaNode to a parent without a measure function!
i dont know why how can i fix this error ? note:i try in android phone using exop link like exp://dd.**:80
Upvotes: 1
Views: 300
Reputation: 164
I have made the status bar with some CO2 visualization content.
This is the source code: https://github.com/JyotibenSapariya/CO2-Visualization-
you can check it.
Its based on javascript so I hope you can use it.
thanks...
Upvotes: 1