export default function App({ Component, pageProps }) {
        // Use the layout defined at the page level, if available
        const getLayout = Component.getLayout || ((page) => page)
      	
        
        return getLayout(<Component {...pageProps} />)
      }

      Typescript language logoNext app with layout

      next
      layout
      app
      Next TypeScript recipes

      Creates an example _app.tsx with per-page layout capabilities

      Shortcut: next.app.layout.create

      Filename pattern: *_app.tsx

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.