Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
430 B

import { Ionicons } from '@expo/vector-icons';
import { Icon } from 'native-base';
import React from 'react';
import { Platform } from 'react-native';
export default function HamburgerIcon({ navigation, ...iconProps }) {
return (
<Icon
onPress={() => navigation.openDrawer()}
as={Ionicons}
name={Platform.OS ? 'ios-menu' : 'md-menu'}
size="8"
marginLeft={2}
{...iconProps}
/>
);
}