mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-25 21:45:41 +00:00
15 lines
269 B
TypeScript
15 lines
269 B
TypeScript
'use client'
|
|
|
|
import {ReactNode} from 'react'
|
|
import {ThemeProvider} from 'next-themes'
|
|
|
|
export function Providers({children}: {
|
|
children: ReactNode
|
|
}) {
|
|
|
|
return (
|
|
<ThemeProvider attribute="class">
|
|
{children}
|
|
</ThemeProvider>
|
|
)
|
|
} |