'use client'; import { Alert as ShadcnAlert, AlertTitle, AlertDescription } from '@/components/ui/Alert'; import { AlertBanner, AlertItem } from '@/components/ui/AlertBanner'; import { LoadingSpinner } from '@/components/ui/LoadingSpinner'; import { ProgressBar } from '@/components/ui/ProgressBar'; import { EmptyState } from '@/components/ui/EmptyState'; import { DropZone } from '@/components/ui/DropZone'; export function FeedbackSection() { const alertItems: AlertItem[] = [ { id: '1', title: 'Tâche critique', icon: '🔴', urgency: 'critical', metadata: 'Dans 1 jour' }, { id: '2', title: 'Réunion urgente', icon: '🟠', urgency: 'high', metadata: 'Dans 2 jours' }, { id: '3', title: 'Rappel', icon: '🟡', urgency: 'medium', metadata: 'Dans 5 jours' } ]; return (

Feedback & States

{/* Alerts */}

Alerts

Information This is an informational alert with some important details. Success Your action was completed successfully. Warning Please review this information before proceeding. Info Additional information about this process. Error Something went wrong. Please try again.
{/* Alert Banner */}

Alert Banner

console.log('Dismiss alert:', id)} onAction={(id, action) => console.log('Alert action:', id, action)} />
{/* Loading States */}

Loading States

Tailles différentes

Loading...

Avec texte

{/* Progress Bars */}

Progress Bars

Couleurs différentes

Avec et sans pourcentage

Sans label

{/* Empty States */}

Empty States

{/* Drop Zone */}

Drop Zone

📁

Drop files here

Or click to browse files

); }