"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "可点击或可删除类的动态交互标签，不支持彩色样式"
 * description: ""
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var Row = console_components_1.Grid.Row, Col = console_components_1.Grid.Col;
exports.default = (function () {
    var _a = react_1.default.useState('normal'), typeState = _a[0], setTypeState = _a[1];
    return (react_1.default.createElement("div", null,
        react_1.default.createElement("h4", null, "\u9ED8\u8BA4"),
        react_1.default.createElement(Row, null,
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag.Selectable, null, "\u9ED8\u8BA4\u6807\u7B7E")),
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag.Closable, { type: typeState, onClick: function () {
                        setTypeState(typeState === 'primary' ? 'normal' : 'primary');
                    } }, "\u9ED8\u8BA4\u6807\u7B7E")),
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag.Selectable, null,
                    react_1.default.createElement(console_components_1.Icon, { type: "sub-account-line" }),
                    "\u9ED8\u8BA4\u6807\u7B7E"))),
        react_1.default.createElement("br", null),
        react_1.default.createElement("h4", null, "\u6FC0\u6D3B/\u9009\u4E2D"),
        react_1.default.createElement(Row, null,
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag.Selectable, { checked: true }, "\u9ED8\u8BA4\u6807\u7B7E")),
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag.Closable, { type: 'primary' }, "\u9ED8\u8BA4\u6807\u7B7E")),
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag.Selectable, { checked: true },
                    react_1.default.createElement(console_components_1.Icon, { type: "sub-account-line" }),
                    "\u9ED8\u8BA4\u6807\u7B7E"))),
        react_1.default.createElement("br", null),
        react_1.default.createElement("h4", null, "\u7981\u7528"),
        react_1.default.createElement(Row, null,
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag, { disabled: true }, "\u9ED8\u8BA4\u6807\u7B7E")),
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag.Closable, { disabled: true }, "\u9ED8\u8BA4\u6807\u7B7E")),
            react_1.default.createElement(Col, null,
                react_1.default.createElement(console_components_1.Tag, { disabled: true },
                    react_1.default.createElement(console_components_1.Icon, { type: "sub-account-line" }),
                    "\u9ED8\u8BA4\u6807\u7B7E")))));
});
