aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/components/theme-provider.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/components/theme-provider.tsx')
-rw-r--r--app/src/components/theme-provider.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/src/components/theme-provider.tsx b/app/src/components/theme-provider.tsx
new file mode 100644
index 0000000..9fced93
--- /dev/null
+++ b/app/src/components/theme-provider.tsx
@@ -0,0 +1,9 @@
+"use client";
+
+import * as React from "react";
+import { ThemeProvider as NextThemesProvider } from "next-themes";
+import { type ThemeProviderProps } from "next-themes/dist/types";
+
+export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
+ return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
+} \ No newline at end of file