DrawerNavigator
2019. 10. 6. 18:25ㆍ카테고리 없음
각 스크린마다
static navigationOptions = ({ navigation }) => ({
title: 'Home',
headerLeft: (
<MenuImage
onPress={() => {
navigation.openDrawer();
}}
/>
)
});
static navigationOptions = ({ navigation }) => {
return {
headerTransparent: 'true',
headerLeft: (
<BackButton
onPress={() => {
navigation.goBack();
}}
/>
)
};
};
등의 코드를 추가해아한다