"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "下拉菜单"
 * description: "通过triggerType 属性控制触发方式。"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var menu = (react_1.default.createElement(console_components_1.Menu, null,
    react_1.default.createElement(console_components_1.Menu.Item, null, "\u9ED8\u8BA4\u9879 1"),
    react_1.default.createElement(console_components_1.Menu.Item, null, "\u9ED8\u8BA4\u9879 2"),
    react_1.default.createElement(console_components_1.Menu.Item, null, "\u9ED8\u8BA4\u9879 3"),
    react_1.default.createElement(console_components_1.Menu.Item, null, "\u9ED8\u8BA4\u9879 4"),
    react_1.default.createElement(console_components_1.Menu.Item, { disabled: true }, "\u5931\u6548\u9879 5")));
exports.default = (function () {
    return (react_1.default.createElement(console_components_1.Dropdown, { trigger: react_1.default.createElement(console_components_1.Button, null, "\u89E6\u53D1\u5668"), triggerType: ['click', 'hover'], afterOpen: function () { return console.log('after open'); } }, menu));
});
