import React from 'react'; import { ToolbarOptionConfiguration } from './ToolbarOptionConfigurationInterface'; import MaterialToolbar from '@mui/material/Toolbar'; import AppBar from '@mui/material/AppBar'; import { ToolbarMenuItem } from './Toolbar'; /** * App bar * @param props.configurations the configurations array * @returns toolbar wich contains an entry for each configuration in the array */ const Menubar = (props: { configurations: ToolbarOptionConfiguration[] }) => { return ( {props.configurations.map((c, i) => { return ; })} ); }; export default Menubar;