mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 17:05:41 +00:00
Ryan Freeman
cf6423bbf8
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 2m22s
15 lines
295 B
TypeScript
15 lines
295 B
TypeScript
'use client'
|
|
|
|
import {ReactNode} from 'react'
|
|
import {ThemeProvider} from 'next-themes'
|
|
|
|
export function Providers({children}: {
|
|
children: ReactNode
|
|
}) {
|
|
|
|
return (
|
|
<ThemeProvider attribute="class" disableTransitionOnChange>
|
|
{children}
|
|
</ThemeProvider>
|
|
)
|
|
} |