mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 21:41:16 +00:00
15 lines
323 B
TypeScript
15 lines
323 B
TypeScript
"use client"
|
|
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes"
|
|
|
|
export function ThemeProvider({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<NextThemesProvider attribute="class" defaultTheme="system" enableSystem>
|
|
{children}
|
|
</NextThemesProvider>
|
|
)
|
|
}
|