cloudflare/vinext

Public

mirrored from https://github.com/cloudflare/vinextAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.0.9

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

tests/fixtures/pages-basic/pages/_app.tsx

12lines · modecode

1import type { AppProps } from "next/app";
2
3export default function MyApp({ Component, pageProps }: AppProps) {
4 return (
5 <div id="app-wrapper" data-testid="app-wrapper">
6 <nav data-testid="global-nav">
7 <span>My App</span>
8 </nav>
9 <Component {...pageProps} />
10 </div>
11 );
12}
13