"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createProvider = void 0;
var React = require("react");
var common_1 = require("../../common");
function createProvider(context) {
    return function (props) {
        if (props === void 0) { props = {}; }
        return (React.createElement(common_1.t.EditorContext.Provider, { value: context }, props.children));
    };
}
exports.createProvider = createProvider;
