1
1
mirror of https://github.com/theoludwig/react-component-form.git synced 2024-07-17 07:30:13 +02:00
react-component-form/example/pages/_app.tsx

15 lines
325 B
TypeScript
Raw Normal View History

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