tldraw/packages/www/pages/_app.tsx

26 lines
564 B
TypeScript
Raw Normal View History

2021-08-11 21:11:23 +00:00
import type { AppProps } from 'next/app'
2021-08-10 16:12:55 +00:00
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>
2021-09-03 14:11:50 +00:00
<Component {...pageProps} />
2021-08-10 16:12:55 +00:00
</div>
</>
)
}
export default MyApp