examples/sdk-nextjs/pages/_app.tsx
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>
);
}