tldraw/packages/www/pages/_app.tsx
2021-08-10 17:12:55 +01:00

27 lines
592 B
TypeScript

import { 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