1
1
mirror of https://github.com/theoludwig/react-component-form.git synced 2024-11-09 22:08:47 +01:00
react-component-form/example/pages/_app.tsx
2022-08-26 20:19:31 +02:00

15 lines
341 B
TypeScript

import type { AppProps } from 'next/app'
import { ThemeProvider } from 'next-themes'
import '../styles/globals.css'
const MyApp = ({ Component, pageProps }: AppProps): JSX.Element => {
return (
<ThemeProvider attribute='class' defaultTheme='light'>
<Component {...pageProps} />
</ThemeProvider>
)
}
export default MyApp