import { ConfigProvider } from "antd";
import classNames from "classnames";
import React, { useContext } from "react";
import { useStyle } from "./style";
export var TextStyleTag = function(props) {
    var context = useContext(ConfigProvider.ConfigContext);
    var baseCls = context === null || context === void 0 ? void 0 : context.getPrefixCls('agentic-md-editor-text-style-tag');
    var _useStyle = useStyle(baseCls), wrapSSR = _useStyle.wrapSSR, hashId = _useStyle.hashId;
    return wrapSSR(/*#__PURE__*/ React.createElement("span", {
        className: classNames(baseCls, hashId)
    }, props.children));
};
