feat(theme): add ThemeProvider component for theme management

This commit is contained in:
cfngc4594 2025-02-19 21:20:12 +08:00
parent 2bf6265367
commit 273c8e6b67

View File

@ -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>
}