import * as React from 'react';
import { Col, Button, Row, notification } from '@btri-ui/base';
export default () => {
  const showMsg = () => {
    notification.info({
      message: '用于表示普通操作信息提示',
      description: '用于表示普通操作信息提示具体提示内容。',
      onCancle: () => {
        console.log('cancle');
      },
      onOk: () => {
        console.log('ok');
      },
    });
  };
  return (
    <>
      <Row autoMode={true}>
        <Col span={2}>
          <Button
            type="primary"
            onClick={() => {
              showMsg();
            }}
          >
            打开通知提醒框
          </Button>
        </Col>
      </Row>
    </>
  );
};
