import _classCallCheck from "babel-runtime/helpers/classCallCheck";
import _createClass from "babel-runtime/helpers/createClass";
import _possibleConstructorReturn from "babel-runtime/helpers/possibleConstructorReturn";
import _inherits from "babel-runtime/helpers/inherits";
import React, { Component } from "react";
import AntdTag from "antd/es/tag";
import "antd/es/tag/style";
var CheckableTag = AntdTag.CheckableTag;

var Tag = function (_Component) {
    _inherits(Tag, _Component);

    function Tag() {
        _classCallCheck(this, Tag);

        return _possibleConstructorReturn(this, (Tag.__proto__ || Object.getPrototypeOf(Tag)).apply(this, arguments));
    }

    _createClass(Tag, [{
        key: "render",
        value: function render() {
            return React.createElement(AntdTag, this.props);
        }
    }]);

    return Tag;
}(Component);

export default Tag;

Tag.CheckableTag = CheckableTag;