View as Markdown

API reference: @salmonui/notifications/toast

Toasterfunction

import { Toaster } from '@salmonui/notifications/toast';
function Toaster(props: ToasterProps): ReactElement;

Toaster. Styling hooks: .salmon-toaster (data-placement, data-paused, data-scoped), its .salmon-toaster-list; .salmon-toast (data-tone, data-closing) with parts -icon, -main, -title, -description, -actions, -action, -dismiss, -progress.