Callout 提示块

醒目的提示区块,支持标题、正文和语义色调。

使用提示

tone 变体

namespace: "doc_callout_tone_diff",
  layout: {
    "column:tones": {
      "callout:info": {
        tone: "info",
        title: "信息",
        text: "这是一条说明信息。"
      },
      "callout:success": {
        tone: "success",
        title: "成功",
        text: "操作已完成。"
      },
      "callout:warning": {
        tone: "warning",
        title: "警告",
        text: "继续前请复核。"
      },
      "callout:danger": {
        tone: "danger",
        title: "危险",
        text: "此操作无法撤销。"
      }
    }
  }
}

API 参考