/**
 * title: "模态遮罩"
 * description: "对话框唤起后默认自带模态遮罩，通过hasMask属性控制遮罩是否显示"
 */
import React from 'react';
import { Button, Dialog } from '@alicloud/console-components';

const popupConfirm = () => {
  Dialog.confirm({
    title: '正常提示',
    content: '详细文本信息或状态描述',
    onOk: () => console.log('ok'),
    onCancel: () => console.log('cancel'),
    closeable: false,
  });
};

export default () => {
  return (
    <div>
      <Button onClick={popupConfirm}>正常提示</Button>
    </div>
  );
};


