category:
  en: Feedback
  zh-CN: 弹窗提示
icon: '&#xe619;'
extra:
  zh-CN: |

    `prop:buttons` 列表是 `slot:buttons` 插槽的默认显示内容，如果 `prop:buttons` 无法满足需求，可以使用 `slot:buttons` 引入 `x-button` 组件。

    ``` html
    <msg>
      <template slot="buttons">
        <x-button plain type="primary">hello</x-button>
        <x-button>world</x-button>
      </template>
    </msg>
    ```

props:
  title:
    en: text to show operation status
    zh-CN: 操作状态提示文字
  description:
    en: description
    zh-CN: 描述文字
  icon:
    default: success
    en: 'icon type. You can use `success`, `warn`, `info`, `waiting`'
    zh-CN: '图标类型，可选值有 `success`, `warn`, `info`, `waiting`'
  buttons:
    type: Array
    en: 'buttons list. A button item includes `text`, `type`(the same as x-button type), `link`, `onClick`'
    zh-CN: '操作按钮列表，一个按钮对象包含`text`, `type`(和x-button组件type一致), `link`, `onClick`'
slots:
  buttons:
    en: used for custom buttons
    zh-CN: 自定义按钮区域元素
  description:
    en: used for custom description
    zh-CN: 自定义描述文字内容
changes:
  v2.9.0:
    en:
      - '[change] prop:buttons displays as slot:buttons default content'
    zh-CN:
      - '[change] prop:buttons 数组作为 slot:buttons 默认内容'
  v2.1.0:
    en:
      - '[feature] new component'
    zh-CN:
      - '[feature] 新组件'
