类型 AttachmentAction
API 文档由 Go 源码生成,内容为英文。
type AttachmentAction struct {
ID ui.ID
Label string // accessible name, "Remove"
Icon ui.Icon
}AttachmentAction is one icon button of an attachment, such as remove or retry. It is the official AttachmentAction: a ghost icon-xs button that sits above the attachment's own trigger, so pressing it never presses the attachment.