import React from "react"; import * as ROUTES from "../routes/routes"; import CorporateFareIcon from "@mui/icons-material/CorporateFare"; import ApartmentIcon from "@mui/icons-material/Apartment"; import PeopleIcon from "@mui/icons-material/People"; import CompareArrowsIcon from "@mui/icons-material/CompareArrows"; export const getBarSquareItems = (role) => { switch (role) { case "BarSquareProvinceJahad": return [ { text: "دسترسی ها", icon: , route: ROUTES.ROUTE_PROVINCE_JAHAD_UNIONS, disabled: true, }, { text: "بنک دارها", icon: , route: ROUTES.ROUTE_PROVINCE_JAHAD_COOPERATIVES, disabled: true, }, { text: "تراکنش ها", icon: , route: ROUTES.ROUTE_BAR_SQUARE_TRANSACTIONS, }, { text: "صنوف", icon: , route: ROUTES.ROUTE_PROVINCE_JAHAD_USERS, disabled: true, }, ]; default: return []; } };