"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
/* we won't use 'pc' class prefix here to let you opportunity to define yfm styles
in your project via global 'yfm' class */
const snakecase_keys_1 = tslib_1.__importDefault(require("snakecase-keys"));
const components_1 = require("../index.js");
const utils_1 = require("../../utils/index.js");
const yfm = (0, utils_1.cn)('yfm');
const YFMWrapper = ({ content, modifiers, className, itemProp, id, qa }) => ((0, jsx_runtime_1.jsx)(components_1.HTML, { className: yfm(modifiers ? (0, snakecase_keys_1.default)(modifiers) : {}, className), itemProp: itemProp, id: id, qa: qa, children: content }));
exports.default = YFMWrapper;
//# sourceMappingURL=YFMWrapper.js.map
