"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContextItem = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const uikit_1 = require("@gravity-ui/uikit");
const cn_1 = require("../../../utils/cn.js");
const b = (0, cn_1.block)('context-item');
const ContextItem = (props) => {
    const { content, onClick, className, qa } = props;
    return ((0, jsx_runtime_1.jsx)(uikit_1.Label, Object.assign({ size: "s", theme: "clear" }, (onClick && { onCloseClick: onClick, type: 'close' }), { className: b(null, className), "data-qa": qa, children: content })));
};
exports.ContextItem = ContextItem;
//# sourceMappingURL=index.js.map
