text: import Header from "components/shared/Headers"
  import { ToastContainer } from 'react-toastify';
  
  const BaseLayout = (props) => {
  
    const { className, user, loading, navClass = "with-bg", children } = props
  
    return (
      <div className="layout-container">
        <Header
          className={navClass}
          user={user}
          loading={loading}
        />
        <main className={`cover ${className}`}>
          <div className="wrapper">
            {children}
          </div>
        </main>
        <ToastContainer />
      </div>
    )
  }
  
  export default BaseLayout