Skip to content

toast ​

Re-export API sonner dạng imperative.

ts
import { toast } from "@minap/ui";

Sample ​

Props / API ​

Prop / APITypeDefaultNotes
messagestring | ReactNode—Tham số đầu
optionsExternalToast—description, action, …

Behavior ​

  • Cần đã mount
  • toast.success / warning / error / info map sang token Soft Periwinkle status (error→destructive)
  • Category: feedback
  • Catalog gallery: /catalog/feedback

MINAP UI · SoT docs/ (VI + thuật ngữ EN)