Можно ли добавить стили текущего экрана?Да, вот они:
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: HOMESCREEN_BACKGROUND
},
topBar: {
height: 200,
backgroundColor: HOMESCREEN_BACKGROUND,
},
map: {
flex: 1,
flexDirection: 'column'
},
returnToHome: {
color: 'white',
position: 'absolute',
fontSize: 30,
marginLeft: '30%'
},
createQueue: {
color: 'white',
marginLeft: '50%',
fontSize: 30
},
loadingTxt: {
textAlign: 'center',
fontSize: 18,
marginTop: "100%",
marginLeft: "25%",
width: 200
},
topBar: {
height: '10%',
backgroundColor: HOMESCREEN_BACKGROUND,
justifyContent: 'center',
alignItems: 'center',
borderBottomColor: 'grey',
borderBottomWidth: 1
},
bottomBar: {
height: '10%',
backgroundColor: HOMESCREEN_BACKGROUND,
flexDirection: 'row',
borderTopColor: 'grey',
borderTopWidth: 1,
},
backText: {
color: 'white',
fontSize: 30,
marginLeft: 0
},
cityText: {
color: 'white',
fontSize: 30,
},
usernameText: {
color: 'grey'
}
});