Spaces:
Running
Running
Download components/providers/theme.tsx from enzostvs/deepsite: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/enzostvs/deepsite/resolve/main/components/providers/theme.tsx
- Command line
-
hf download hf://spaces/enzostvs/deepsite/components/providers/theme.tsx
-
curl -L -o theme.tsx https://huggingface.co/spaces/enzostvs/deepsite/resolve/main/components/providers/theme.tsx
299 Bytes
| "use client"; | |
| import * as React from "react"; | |
| import { ThemeProvider as NextThemesProvider } from "next-themes"; | |
| export function ThemeProvider({ | |
| children, | |
| ...props | |
| }: React.ComponentProps<typeof NextThemesProvider>) { | |
| return <NextThemesProvider {...props}>{children}</NextThemesProvider>; | |
| } | |