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

9 lines
321 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";
2024-04-16 20:18:08 +00:00
export default function ThemeProvider({ children, ...props }: ThemeProviderProps): JSX.Element {
2024-04-14 17:46:37 +00:00
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}