import { ReactNode } from "react";
import { AdminMenu } from "views-components/main-app-bar/admin-menu";
import { pluginConfig } from 'plugins';
-import { CollapseLeftPanelTrigger } from 'views-components/side-panel/side-panel'
-// import { toggleSidePanel } from "store/store";
type CssRules = 'toolbar' | 'link';
color: 'inherit'
},
toolbar: {
- height: '56px'
+ height: '56px',
}
});
uuidPrefix: string;
siteBanner: string;
sidePanelIsCollapsed: boolean;
- toggleSidePanel: (collapsedState:boolean) => void
}
export type MainAppBarProps = MainAppBarDataProps & WithStyles<CssRules>;
(props: MainAppBarProps) => {
return <AppBar position="absolute">
<Toolbar className={props.classes.toolbar}>
- <CollapseLeftPanelTrigger sidepanelcollapsed={props.sidePanelIsCollapsed}
- toggleSidePanel={props.toggleSidePanel}
- />
<Grid container justify="space-between">
{pluginConfig.appBarLeft || <Grid container item xs={3} direction="column" justify="center">
<Typography variant='h6' color="inherit" noWrap>