| 1 | "use client" |
| 2 | |
| 3 | import * as React from "react" |
| 4 | import { ThemeProvider as NextThemesProvider } from "next-themes" |
| 5 | type ThemeProviderProps = React.ComponentProps<typeof NextThemesProvider>; |
| 6 | |
| 7 | export function ThemeProvider({ children, ...props }: ThemeProviderProps) { |
| 8 | return <NextThemesProvider {...props}>{children}</NextThemesProvider>; |
| 9 | } |