import React from 'react';
import { List } from '@material-ui/core';
import { AppMenuItem } from './AppMenuItem';
export const AppMenu = ({ childrenIcons, menuItems, sidebarExpanded, user }) => {
    return (React.createElement("nav", { "aria-label": "Site Navigation" }, React.createElement(List, null, menuItems.map((item, index) => {
        return (React.createElement(AppMenuItem, Object.assign({ key: index, childrenIcons: childrenIcons, sidebarExpanded: sidebarExpanded, user: user }, item)));
    }))));
};
//# sourceMappingURL=AppMenu.js.map