Const
Imperative toast API. Mounted at module scope so any consumer can fire a notification without prop-drilling.
toast.success('Imported drive.csv', { subtitle: '2,418 rows' }); toast.error('Parse failed', { action: { label: 'Retry', onClick: retry } }); Copy
toast.success('Imported drive.csv', { subtitle: '2,418 rows' }); toast.error('Parse failed', { action: { label: 'Retry', onClick: retry } });
Imperative toast API. Mounted at module scope so any consumer can fire a notification without prop-drilling.