Spaces:
Sleeping
Sleeping
Download src/components/theme-provider.tsx from veltrixcode/Iot: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/veltrixcode/Iot/resolve/main/src/components/theme-provider.tsx
- Command line
-
hf download hf://spaces/veltrixcode/Iot/src/components/theme-provider.tsx
-
curl -L -o theme-provider.tsx https://huggingface.co/spaces/veltrixcode/Iot/resolve/main/src/components/theme-provider.tsx
301 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> | |
| } | |