18 lines
453 B
TypeScript
18 lines
453 B
TypeScript
|
import '@/styles/globals.css'
|
||
|
import { ThemeProvider } from 'next-themes'
|
||
|
import type { AppProps } from 'next/app'
|
||
|
import Head from 'next/head'
|
||
|
|
||
|
export default function App({ Component, pageProps }: AppProps) {
|
||
|
return (
|
||
|
<ThemeProvider>
|
||
|
<Head>
|
||
|
<title>tldraw docs</title>
|
||
|
<meta charSet="utf-8" />
|
||
|
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
|
||
|
</Head>
|
||
|
<Component {...pageProps} />
|
||
|
</ThemeProvider>
|
||
|
)
|
||
|
}
|