import React from 'react';
import { Col, Dropdown, Row } from '@btri-ui/base';

export default () => {
  const menus = [
    { key: 'key-1', label: '操作一' },
    { key: 'key-2', label: '操作二' },
    { key: 'key-3', label: '操作三' },
    { key: 'key-4', label: '操作四', disabled: true },
    { key: 'key-5', label: '操作五', disabled: true },
  ];
  return (
    <>
      <Row>
        <Col>
          <Dropdown type="text" text="下拉菜单" menuItems={menus} />
        </Col>
      </Row>
    </>
  );
};
