From 273c8e6b67bf80f1b487623ac3427d275c9cba61 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Wed, 19 Feb 2025 21:20:12 +0800 Subject: [PATCH] feat(theme): add ThemeProvider component for theme management --- src/components/theme-provider.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/components/theme-provider.tsx diff --git a/src/components/theme-provider.tsx b/src/components/theme-provider.tsx new file mode 100644 index 0000000..6a1ffe4 --- /dev/null +++ b/src/components/theme-provider.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) { + return {children} +}