tldraw/packages/www/pages/_app.tsx
2021-09-04 10:17:10 +01:00

27 lines
597 B
TypeScript

import type { AppProps } from 'next/app'
import useGtag from '../hooks/useGtag'
import Head from 'next/head'
import './styles.css'
function MyApp({ Component, pageProps }: AppProps): JSX.Element {
useGtag()
return (
<>
<Head>
<title>tldraw</title>
<meta
name="viewport"
content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no, user-scalable=no, viewport-fit=cover"
/>
</Head>
<div>
<main>
<Component {...pageProps} />
</main>
</div>
</>
)
}
export default MyApp