Appearance
toast
Re-export API sonner dạng imperative.
ts
import { toast } from "@minap/ui";Sample
Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
message | string | ReactNode | — | Tham số đầu |
options | ExternalToast | — | description, action, … |
Behavior
- Cần đã mount
- toast.success / warning / error / info map sang token Soft Periwinkle status (error→destructive)
Related
- Category:
feedback - Catalog gallery:
/catalog/feedback