A lightweight toast notification system wrapper that re-exports Sonner components for consistent toast messaging across the application. ## Key Components **Exports:** - `Toaster` - The main toast container component from a custom Sonner implementation - `sonnerToast` - The toast function for displaying notifications, aliased from the original Sonner library ## Usage Example ```typescript import { Toaster, sonnerToast } from './toast' // Add the Toaster component to your app root function App() { return (
) } // Display different types of toast notifications function MyComponent() { const handleSuccess = () => { sonnerToast.success('Operation completed successfully!') } const handleError = () => { sonnerToast.error('Something went wrong') } const handleInfo = () => { sonnerToast('Basic notification message') } return (
) } ``` This module provides a clean API for toast notifications while maintaining the flexibility and features of the underlying Sonner library.