Download src/components/providers.tsx from Specver/bingo: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/spaces/Specver/bingo/resolve/main/src/components/providers.tsx
- Command line
-
hf download hf://spaces/Specver/bingo/src/components/providers.tsx
-
curl -L -o providers.tsx https://huggingface.co/spaces/Specver/bingo/resolve/main/src/components/providers.tsx
434 Bytes
| 'use client' | |
| import * as React from 'react' | |
| import { ThemeProvider as NextThemesProvider } from 'next-themes' | |
| import { ThemeProviderProps } from 'next-themes/dist/types' | |
| import { TooltipProvider } from '@/components/ui/tooltip' | |
| export function Providers({ children, ...props }: ThemeProviderProps) { | |
| return ( | |
| <NextThemesProvider {...props}> | |
| <TooltipProvider>{children}</TooltipProvider> | |
| </NextThemesProvider> | |
| ) | |
| } | |