import React, { useState } from "react"; // layouts import Container from "layouts/container"; import Sidebar from "layouts/navbar/main-siderbar"; import Header from "layouts/navbar/header"; // components import CreateProjectModal from "components/project/create-project-modal"; // types import type { Props } from "./types"; const AppLayout: React.FC = ({ meta, children, noPadding = false, bg = "primary", noHeader = false, breadcrumbs, left, right, }) => { const [isOpen, setIsOpen] = useState(false); return (
{noHeader ? null :
}
{children}
); }; export default AppLayout;