This repository has been archived on 2024-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
react-component-form/example/pages/_app.tsx

15 lines
325 B
TypeScript
Raw Normal View History

import type { AppType } from 'next/app'
2022-08-26 20:19:31 +02:00
import { ThemeProvider } from 'next-themes'
import '../styles/globals.css'
const MyApp: AppType = ({ Component, pageProps }) => {
2022-08-26 20:19:31 +02:00
return (
2022-08-26 23:47:48 +02:00
<ThemeProvider attribute='class' defaultTheme='dark'>
2022-08-26 20:19:31 +02:00
<Component {...pageProps} />
</ThemeProvider>
)
}
export default MyApp