import DataSourceProvider from "../provider/dataSource/DataSourceProvider.js";
import BaseWrapper from "./BaseWrapper.js";
import React from "react";
//#region src/components/dataSourceComponents/dataSourceWrapper/index.tsx
const DataSourceWrapper = (props) => {
	const { children, dataSource, overrideData, autoRun, actions, currentValue, __designMode } = props;
	return /* @__PURE__ */ React.createElement(DataSourceProvider, {
		dataSource,
		overrideData,
		actions,
		autoRun,
		currentValue,
		__designMode
	}, /* @__PURE__ */ React.createElement(BaseWrapper, props, children));
};
//#endregion
export { DataSourceWrapper as default };
