"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "下拉按钮"
 * description: "最简单的用法。支持 Button 的 shape, type, size, component, ghost 等属性透传"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var centerStyle = {
    display: 'flex',
    gap: '16px',
};
exports.default = (function () {
    var menuList = ['选项1', '选项2', '选项3'].map(function (item) { return (react_1.default.createElement(console_components_1.MenuButton.Item, { key: item }, item)); });
    return (react_1.default.createElement("div", { style: centerStyle },
        react_1.default.createElement(console_components_1.MenuButton, { type: "primary", label: "\u57FA\u7840\u6309\u94AE" }, menuList),
        react_1.default.createElement(console_components_1.MenuButton, { type: "secondary", label: "\u57FA\u7840\u6309\u94AE" }, menuList),
        react_1.default.createElement(console_components_1.MenuButton, { label: "\u57FA\u7840\u6309\u94AE", type: "primary", disabled: true }, menuList)));
});
