@jay.kou/rak-ssr
Version:
A react based UI components for admin system
39 lines (37 loc) • 1.47 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.SchemaFormSettingPropsType = exports.ModalSettingPropsType = void 0;
var _context = require("./context");
var _jsxRuntime = require("react/jsx-runtime");
var SettingProvider = function SettingProvider(props) {
var proTableSetting = props.proTableSetting,
modalFormSetting = props.modalFormSetting,
schemaFormSetting = props.schemaFormSetting,
formUploadSetting = props.formUploadSetting,
children = props.children;
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.ProTableContext.Provider, {
value: proTableSetting,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.ModalFormContext.Provider, {
value: modalFormSetting,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.SchemaFormContext.Provider, {
value: schemaFormSetting,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.FormUploadContext.Provider, {
value: formUploadSetting,
children: children
})
})
})
});
};
var _default = exports.default = SettingProvider; // 用于生成api文档
/* istanbul ignore next */
var SchemaFormSettingPropsType = exports.SchemaFormSettingPropsType = function SchemaFormSettingPropsType() {
return null;
};
// 用于生成api文档
/* istanbul ignore next */
var ModalSettingPropsType = exports.ModalSettingPropsType = function ModalSettingPropsType() {
return null;
};