"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MToolbarColors = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const commands_1 = require("../../../markup/commands/index.js");
const ToolbarColors_1 = require("../custom/ToolbarColors.js");
const MToolbarColors = ({ className, editor, focus, onClick, }) => {
    return ((0, jsx_runtime_1.jsx)(ToolbarColors_1.ToolbarColors, { enable: true, exec: (color) => {
            (0, commands_1.colorify)(color)(editor.cm);
        }, className: className, focus: focus, onClick: onClick }));
};
exports.MToolbarColors = MToolbarColors;
//# sourceMappingURL=MToolbarColors.js.map
