Let’s add the src/components/NavigationHeader
component. This component should return the StatusBar
element.
NavigationHeader
should have default properties: barStyle
: dark
, backgroundColor
: transparent
.
The StatusBar
must have animated
and translucent
properties equal to true
.
The StatusBar
property of backgroundColor
must be forwarded from the NavigationHeader
properties.
The StatusBar
property of barStyle
must be -content
with a prefix equal to the barStyle
property of NavigationHeader
.
This task is part of the Full-Stack JavaScript Course.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.