import React from "react";
import {Outlet} from "react-router-dom";

const MainLayout: React.FC<{ children?: React.ReactNode }> = ({children}) => {
    return (<div className="main-bg-container">
        <div className="main-content">
            {children ? children : <Outlet/>}
        </div>
    </div>)
}
export default MainLayout