khronoz's picture
V.0.1.0 (#3)
caae15f unverified
raw
history blame
432 Bytes
"use client";
import { NextUIProvider } from '@nextui-org/react'
import { ThemeProvider as NextThemesProvider } from "next-themes";
export function Providers({ children }: { children: React.ReactNode }) {
return (
<NextUIProvider>
<NextThemesProvider attribute="class" defaultTheme="system" enableSystem={true}>
{children}
</NextThemesProvider>
</NextUIProvider>
)
}