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

const Base = () => {
  const content = <div>这里是气泡卡片内容</div>;
  return (
    <>
      <Row autoMode={true}>
        <Col span={4}>
          <Popover content={content}>
            <Button type="primary">Hover</Button>
          </Popover>
        </Col>
        <Col span={4}>
          <Popover content={content} title="标题" trigger="click">
            <Button type="primary">Click</Button>
          </Popover>
        </Col>
      </Row>
    </>
  );
};

export default Base;
