mirror of
https://github.com/theoludwig/react-component-form.git
synced 2024-11-09 22:08:47 +01:00
15 lines
325 B
TypeScript
15 lines
325 B
TypeScript
import type { AppType } from 'next/app'
|
|
import { ThemeProvider } from 'next-themes'
|
|
|
|
import '../styles/globals.css'
|
|
|
|
const MyApp: AppType = ({ Component, pageProps }) => {
|
|
return (
|
|
<ThemeProvider attribute='class' defaultTheme='dark'>
|
|
<Component {...pageProps} />
|
|
</ThemeProvider>
|
|
)
|
|
}
|
|
|
|
export default MyApp
|