pangolin/src/providers/ThemeProvider.tsx
2024-12-30 15:48:34 -05:00

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>;
}