import {motion} from "framer-motion" import Backdrop from "./Backdrop" import { SidebarData } from "./SidebarData" import {Link} from 'react-router-dom'; import * as AiIcons from 'react-icons/ai'; import "../../styles/Header.css" const dropIn = { hidden: { x: "-100vh", }, visible: { x: "0", }, exit: { x: "-100vh", }, } // function showBar (){ // return ( // {SidebarData.map((item, index) => { // return ( // // // // {item.icon} // {item.title} // // // // ) // })} // ) // } const Modal = ({ handleClose }) => { return ( {SidebarData.map((item, index) => { return ( {item.icon} {item.title} ) })} ) } export default Modal