Spaces:
Sleeping
Sleeping
Download components/ToasterProvider.tsx from Tahasaif3/taskflow-frontend: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/Tahasaif3/taskflow-frontend/resolve/main/components/ToasterProvider.tsx
- Command line
-
hf download hf://spaces/Tahasaif3/taskflow-frontend/components/ToasterProvider.tsx
-
curl -L -o ToasterProvider.tsx https://huggingface.co/spaces/Tahasaif3/taskflow-frontend/resolve/main/components/ToasterProvider.tsx
427 Bytes
| 'use client'; | |
| import { Toaster } from 'sonner'; | |
| export function ToasterProvider() { | |
| return ( | |
| <Toaster | |
| theme="dark" | |
| position="top-center" | |
| toastOptions={{ | |
| style: { | |
| background: 'rgba(24, 24, 27, 0.8)', | |
| backdropFilter: 'blur(24px)', | |
| border: '1px solid rgba(255, 255, 255, 0.1)', | |
| color: '#f4f4f5', | |
| }, | |
| className: 'glass' | |
| }} | |
| /> | |
| ); | |
| } |