diff --git a/ssss.txt b/ssss.txt new file mode 100644 index 0000000..6fbbb7b --- /dev/null +++ b/ssss.txt @@ -0,0 +1,107 @@ +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; \ No newline at end of file