aboutsummaryrefslogtreecommitdiff
path: root/src/components/ThemeProvider.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ThemeProvider.tsx')
-rw-r--r--src/components/ThemeProvider.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/ThemeProvider.tsx b/src/components/ThemeProvider.tsx
new file mode 100644
index 0000000..38121e2
--- /dev/null
+++ b/src/components/ThemeProvider.tsx
@@ -0,0 +1,11 @@
+"use client"
+
+import * as React from "react"
+import { ThemeProvider as NextThemesProvider } from "next-themes"
+
+export function ThemeProvider({
+ children,
+ ...props
+}: React.ComponentProps<typeof NextThemesProvider>) {
+ return <NextThemesProvider {...props}>{children}</NextThemesProvider>
+} \ No newline at end of file