/**
 * title: "提示对话框"
 * description: "Dialog 提供 alert 和 confirm 的快捷调用方式，以及更底层的 show 方式。"
 */
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'),
  });
};

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


