import React from 'react'
import AppNav from "./AppNav"
import Logo from './Logo'
import styles from "./Sidebar.module.css"
import { Outlet } from 'react-router-dom'


const Sidebar = ({ isOpen }) => {
  return (
      <div className={isOpen ? styles.sidebaropen : styles.sidebar}>
        <Logo/>
        <AppNav/>
        <Outlet/>
    </div>
  );
};

export default Sidebar
