Ghost
New
struxadotcloud
/
struxa
public
Star
0
Fork
0
Code
Issues
0
Pull requests
0
ebb2266
1
branch
Go to file
t
Code
struxa
apps
web
src
components
theme-provider.tsx
initial commit
d4cb9e1
5 months ago
11 lines · 299 B
1
"
use client
"
;
2
3
import
{
ThemeProvider
as
NextThemesProvider
4
import
*
as
React
5
6
export
function
ThemeProvider
(
{
7
children
,
8
...
props
9
}
:
React
.
10
return
<
NextThemesProvider
{
11
}
}
from
"
next-themes
"
;
from
"
react
"
;
ComponentProps
<
typeof
NextThemesProvider
>
)
{
...
props
}
>
{
children
}
</
NextThemesProvider
>
;