Sync
This commit is contained in:
parent
546f89e970
commit
a18640344e
77 changed files with 8201 additions and 2 deletions
11
src/components/themeProvider.tsx
Normal file
11
src/components/themeProvider.tsx
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use client"
|
||||
|
||||
import type { ComponentProps } from "react"
|
||||
import { ThemeProvider as NextThemesProvider } from "next-themes"
|
||||
|
||||
export function ThemeProvider({
|
||||
children,
|
||||
...props
|
||||
}: ComponentProps<typeof NextThemesProvider>) {
|
||||
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
|
||||
}
|
||||
Loading…
Reference in a new issue