Frontend/src/app/components/theme-provider.tsx

9 lines
308 B
TypeScript
Raw Normal View History

2024-04-14 17:46:37 +00:00
"use client";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { type ThemeProviderProps } from "next-themes/dist/types";
export default function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}