Download VITON-Extends_test/components/theme-provider.tsx from NguyenDinhHieu/VITON-Extends: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/NguyenDinhHieu/VITON-Extends/resolve/main/VITON-Extends_test/components/theme-provider.tsx
- Command line
-
hf download hf://NguyenDinhHieu/VITON-Extends/VITON-Extends_test/components/theme-provider.tsx
-
curl -L -o theme-provider.tsx https://huggingface.co/NguyenDinhHieu/VITON-Extends/resolve/main/VITON-Extends_test/components/theme-provider.tsx
303 Bytes
| 'use client' | |
| import * as React from 'react' | |
| import { | |
| ThemeProvider as NextThemesProvider, | |
| type ThemeProviderProps, | |
| } from 'next-themes' | |
| export function ThemeProvider({ children, ...props }: ThemeProviderProps) { | |
| return <NextThemesProvider {...props}>{children}</NextThemesProvider> | |
| } | |