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