import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import { NavLink } from 'react-router-dom';
import OtherMenuContent from 'ba-api/otherMenu';
import { ListItem, ListItemText } from '@material-ui/core';
import styles from './sidebar-jss';
const LinkBtn = React.forwardRef(function LinkBtn(props, ref) { // eslint-disable-line
return ; // eslint-disable-line
});
function OtherMenu(props) {
const { toggleDrawerOpen, classes } = props;
const getOtherMenu = menuArray => menuArray.map((item, index) => {
const keyIndex = index.toString();
return (
);
});
return (
{getOtherMenu(OtherMenuContent)}
);
}
OtherMenu.propTypes = {
classes: PropTypes.object.isRequired,
toggleDrawerOpen: PropTypes.func.isRequired,
};
export default withStyles(styles)(OtherMenu);