feat: 🚀

This commit is contained in:
Evandro committed 2024-11-28 12:37:47 -03:00
commit e775435c9f
53 files changed
+14240

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
'use client'
import { ThemeProvider as NextThemesProvider } from 'next-themes'
import { ReactNode } from 'react'
interface ProvidersProps {
children: ReactNode
}
export function ThemeProvider({ children }: ProvidersProps) {
return (
<NextThemesProvider
attribute="class"
defaultTheme="system"
enableSystem
>
{children}
</NextThemesProvider>
)
}