import { FC } from "react" import { SidebarInterface } from "../../../types" import { sidebarItems } from "../../../utility/sidebar" import { SidebarItem } from "./sidebar-item" import { CloseCircle, LogoutCurve } from "iconsax-react" type Props = { setShow: (value: boolean) => void, show: any, } export const SidebarMobile: FC = ({ setShow, show }) => { const handleCloseSidebar = () => setShow(false) return ( show &&
logo
{sidebarItems?.map((item: SidebarInterface) => )}

خروج

) }