Notifications
Sistema de notificaciones basado en notistack. Incluye el componente Notifications que debe envolver la app, y el hook NotificationProvider para disparar notificaciones desde cualquier componente.
Configuración
Incluye Notifications en tu main.tsx, junto con LanguageProvider:
NotificationProvider
Hook que retorna una función notify para disparar notificaciones desde cualquier componente.
Tipos de notificación
Interface CustomNotification
Ejemplo completo
Notas
Notificationsdebe estar por encima de cualquier componente que useNotificationProvider.- Las notificaciones se apilan con un máximo configurable (por defecto 3 simultáneas).
- Cada notificación incluye un botón de cierre.