import {Sidebar, sidebarClasses} from 'react-pro-sidebar'; import {Box, Typography,List, ListItemButton, ListItemIcon} from '@mui/material' import { useStores } from "../context/root-store-general-context"; import { observer } from "mobx-react-lite"; import theme from '../theme'; import {HomeOutlined, PeopleOutlined,ListOutlined,MenuBookOutlined,SettingsApplicationsOutlined, HelpOutline} from '@mui/icons-material' import { BackgroundColor } from '../stories/Sidebar.stories'; const MainMenu: React.FC = observer(() => { const {SideBar} = useStores() return( Меню SideBar.setSelectedIndexAction(1)} sx={{ '&.Mui-selected':{ backgroundColor : theme.palette.primary.dark, borderRadius: "4px", }, }} > Домой SideBar.setSelectedIndexAction(2)} sx={{ '&.Mui-selected':{ backgroundColor : theme.palette.primary.dark, borderRadius: "4px", }, }} > Кандидаты SideBar.setSelectedIndexAction(3)} sx={{ '&.Mui-selected':{ backgroundColor : theme.palette.primary.dark, borderRadius: "4px", }, }} > Заявки SideBar.setSelectedIndexAction(4)} sx={{ '&.Mui-selected':{ backgroundColor : theme.palette.primary.dark, borderRadius: "4px", }, }} > Справочники Настройки Помощь ) }); export default MainMenu;