portfolio/app/providers.tsx

15 lines
295 B
TypeScript
Raw Normal View History

2023-07-29 22:40:36 +00:00
'use client'
import {ReactNode} from 'react'
import {ThemeProvider} from 'next-themes'
export function Providers({children}: {
children: ReactNode
}) {
return (
2024-09-14 08:55:49 +00:00
<ThemeProvider attribute="class" disableTransitionOnChange>
2023-07-29 22:40:36 +00:00
{children}
</ThemeProvider>
)
}