mirror of
https://github.com/cosscom/coss.git
synced 2026-09-14 20:06:50 +08:00
3c6058e484
* fix particles * test * readd type module * drop type module for deploy and keep registry build on tsx * restore the prev next-themes
11 lines
264 B
TypeScript
11 lines
264 B
TypeScript
"use client";
|
|
|
|
import {
|
|
ThemeProvider as NextThemesProvider,
|
|
type ThemeProviderProps,
|
|
} from "next-themes";
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
|
}
|