Feedback Hooks
Toast, notification, and feedback hooks
Hooks for user feedback and notifications.
Package
@tetherto/mdk-react-devkit
Hooks
useNotification
Custom hook for showing notifications backed by the headless notificationStore. Uses @tetherto/mdk-react-devkit/primitives Toast and Toaster components.
() => { notifySuccess: (message: string, description?: string | undefined, options?: NotificationOptions | undefined) => void; notifyError: (message: string, description?: string | undefined, options?: NotificationOptions | undefined) => vo… /* see source */