import React from 'react';
import { Button, Dialog } from '@alicloud/console-components';

const popupConfirm = () => {
  Dialog.alert({
    title: 'title',
    messageProps: { type: 'success' },
    content: <div style={{ maxWidth: 450 }}>{'content'}</div>,
    okProps: { children: 'ok' },
    footerActions: ['ok'],
  });
};

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


