import React from 'react';
import {Outlet} from 'react-router-dom';
import Header from '@/components/Header';
import ProviderApp from '@/provider/app';
import styles from './index.less';


const LayoutApp=(props)=>{
  const providerApp = ProviderApp.useContainer();
  console.log('layoutApp.nav',providerApp.nav)
  return ( 
    <section className={styles.layoutAppWrap}>
      <Header {...providerApp.nav} />
      <section className={styles.content}>
        <Outlet />
      </section>
    </section>
  )
}
export default LayoutApp;