domjtalbot/nx-mesh

View on GitHub
examples/sdk-nextjs/pages/_app.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import type { AppProps } from 'next/app';

interface LayoutProps {
  children: React.ReactNode;
}

const Layout = ({ children }: LayoutProps) => (
  <div className="layout">{children}</div>
);

export default function App({ Component, pageProps }: AppProps) {
  return (
    <Layout>
      <Component {...pageProps} />
    </Layout>
  );
}