const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
const require_TableSettingContext = require("./TableSettingContext.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.tsx
/**
* @title: 表单设置Provider
* @description: 提供表单设置信息
*/
const TableSettingProvider = (props) => {
	const { children, dataSource } = props;
	const value = react.default.useMemo(() => {
		return { dataSource };
	}, [dataSource]);
	return /* @__PURE__ */ react.default.createElement(require_TableSettingContext.default.Provider, { value }, children);
};
//#endregion
exports.default = TableSettingProvider;
