类型 SonnerToast
API 文档由 Go 源码生成,内容为英文。
type SonnerToast struct {
Snapshot ToastSnapshot
Scope ui.ID
DismissID ui.ID
ActionID ui.ID
ActionLabel string
Disabled bool
}SonnerToast is one caller-owned toast snapshot plus stable interaction IDs. The caller owns insertion, expiry, swipe state, and removal.