import { ReactNode } from "react";
import SideBar from "./SideBar/SideBar";

type LayoutProps = {
  children: ReactNode;
};

const Layout = ({ children }: LayoutProps) => {
  return (
    <>
      <SideBar />
      <div className="content">{children}</div>
    </>
  );
};

export default Layout;
