Spaces:
Build error
Build error
Download src/components/theme-provider.tsx from Charan5775/docs: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/spaces/Charan5775/docs/resolve/main/src/components/theme-provider.tsx
- Command line
-
hf download hf://spaces/Charan5775/docs/src/components/theme-provider.tsx
-
curl -L -o theme-provider.tsx https://huggingface.co/spaces/Charan5775/docs/resolve/main/src/components/theme-provider.tsx
327 Bytes
| "use client" | |
| import * as React from "react" | |
| import { ThemeProvider as NextThemesProvider } from "next-themes" | |
| import { type ThemeProviderProps } from "next-themes/dist/types" | |
| export function ThemeProvider({ children, ...props }: ThemeProviderProps) { | |
| return <NextThemesProvider {...props}>{children}</NextThemesProvider> | |
| } | |