import * as React from 'react';
import { Col, Button, Row, message } from '@btri-ui/base';

export default () => {
  const showMsg = () => {
    message.info('用于表示普通操作信息提示', 10);
  };
  return (
    <>
      <Row autoMode={true}>
        <Col span={2}>
          <Button
            type="primary"
            onClick={() => {
              showMsg();
            }}
          >
            打开全局提示
          </Button>
        </Col>
      </Row>
    </>
  );
};
