import {Outlet} from "react-router-dom";
import {AdminSideBar} from "./AdminSideBar.tsx";
import {AdminTopBar} from "./AdminTopBar.tsx";

export function AdminLayout() {
    return (
        <div className="wrap">
            <AdminSideBar/>

            <div className="container sub">
                <AdminTopBar/>
                <div className="content_wrap">
                    <Outlet/>
                </div>
            </div>
        </div>
    );
}
