import {Box, MenuItem, Typography} from "@mui/material"; import {NextLinkComposed} from "@/core/components/LinkRouting"; import {useTranslations} from "next-intl"; import headerProfileItems from "@/core/data/headerProfileItems"; import ProfileOptionLogOut from "./ProfileOptionLogOut"; export default function ProfileOptions({handleCloseUserMenu}) { const t = useTranslations(); return ( <> {headerProfileItems.map((profile_item) => ( {profile_item.icon} {t(profile_item.name)} ))} ); }