import React from 'react';
import { MdmModuleActionsContext, MdmModuleValuesContext, MdmModuleListenersContext } from './context';
export var MdmModuleProvider = function (_a) {
    var children = _a.children, _b = _a.actions, actions = _b === void 0 ? {} : _b, _c = _a.values, values = _c === void 0 ? {} : _c, _d = _a.listeners, listeners = _d === void 0 ? {} : _d;
    return (React.createElement(MdmModuleActionsContext.Provider, { value: actions },
        React.createElement(MdmModuleValuesContext.Provider, { value: values },
            React.createElement(MdmModuleListenersContext.Provider, { value: listeners }, children))));
};
