9 lines
312 B
TypeScript
9 lines
312 B
TypeScript
"use client";
|
|
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
|
|
|
type ThemeProviderProps = React.ComponentProps<typeof NextThemesProvider>;
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
|
}
|