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.
 
 
 
 
 
 

19 lines
447 B

import React from 'react';
import { TouchableOpacity } from 'react-native';
import { Icon } from 'native-base';
import PropTypes from 'prop-types';
function MenuIcon({ onPress, iconName = 'menu' }) {
return (
<TouchableOpacity onPress={onPress}>
<Icon navElement name={iconName} />
</TouchableOpacity>
);
}
MenuIcon.propTypes = {
onPress: PropTypes.func.isRequired,
iconName: PropTypes.string,
};
export default MenuIcon;