import type { AppProps } from 'next/app' ; import type { LayoutProps } from '@vercel/examples-ui/layout' ; import { getLayout } from '@vercel/examples-ui' ; import '@vercel/examples-ui/globals.css' ; export default function MyApp ( { Component , pageProps } ) { const Layout = getLayout < LayoutProps > ( Component ) ; return ( < Layout path = "edge-functions/hostname-rewrites" deployButton = { { env : [ 'ROOT_URL' ] } } > < Component { ... pageProps } / > < /Layout>); }