Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export default class Contacts extends React.Component {
- static navigationOptions = ({ navigation: { navigate } }) => ({
- title: 'TestApp',
- headerTintColor: 'white',
- headerStyle: {
- backgroundColor: colors.blue,
- },
- headerLeft: (
- <TouchableOpacity onPress={() => navigate.toggleDrawer()}>
- <MaterialIcons
- name="menu"
- size={24}
- style={{ color: colors.black, marginLeft: 10 }}
- />
- </TouchableOpacity>
- ),
- headerRight: (
- <TouchableOpacity onPress={() => navigate('Transactions')}>
- <Icon
- name="pie-chart"
- type='font-awesome'
- size={24}
- style={{ color: colors.black, marginRight: 10 }}
- />
- </TouchableOpacity>
- ),
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement