Download apps/web/src/components/theme-provider.tsx from Atmint/cpns: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/Atmint/cpns/resolve/main/apps/web/src/components/theme-provider.tsx
- Command line
-
hf download hf://spaces/Atmint/cpns/apps/web/src/components/theme-provider.tsx
-
curl -L -o theme-provider.tsx https://huggingface.co/spaces/Atmint/cpns/resolve/main/apps/web/src/components/theme-provider.tsx
325 Bytes
| import { ThemeProvider as NextThemesProvider } from "next-themes"; | |
| import * as React from "react"; | |
| export function ThemeProvider({ | |
| children, | |
| ...props | |
| }: React.ComponentProps<typeof NextThemesProvider>) { | |
| return <NextThemesProvider {...props}>{children}</NextThemesProvider>; | |
| } | |
| export { useTheme } from "next-themes"; | |