Created
July 12, 2019 20:07
-
-
Save anastely/b1b9dfd723c701d378eae262d7266c54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyOrders top part | |
const OrdersStack = createStackNavigator({ | |
Orders: { | |
screen: Orders, | |
navigationOptions: ({ navigation }) => ({ | |
headerLeft: ( | |
// <TouchableOpacity onPress={() => navigation.dispatch(DrawerActions.toggleDrawer())}> | |
<TouchableOpacity | |
onPress={() => navigation.dispatch(DrawerActions.toggleDrawer())} | |
> | |
<Icon | |
name="ios-menu" | |
size={40} | |
style={{ margin: 10 }} | |
color="#2F98AE" | |
/> | |
</TouchableOpacity> | |
), | |
headerRight: <View />, | |
title: "My Orders", | |
headerTintColor: "#2F98AE", | |
headerStyle: { | |
borderBottomColor: "white" | |
}, | |
headerTitleStyle: { | |
color: "#2F98AE", | |
// textAlign: "center", | |
flex: 1, | |
elevation: 0, | |
fontSize: 25 | |
// justifyContent: "center" | |
} | |
}) | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment