import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import DataSourceProvider from "../provider/dataSource/DataSourceProvider.js";
import BaseTable_default from "./BaseTable.js";
import React, { forwardRef } from "react";
import "./index.less";
//#region src/components/dataSourceComponents/dataSourceTable/index.tsx
const DataSourceTable = (props, ref) => {
	const { dataSource, __designMode, extraParams } = props;
	return /* @__PURE__ */ React.createElement(DataSourceProvider, {
		dataSource,
		__designMode,
		extraParams
	}, /* @__PURE__ */ React.createElement(BaseTable_default, _objectSpread2(_objectSpread2({}, props), {}, { ref })));
};
var dataSourceTable_default = forwardRef(DataSourceTable);
//#endregion
export { dataSourceTable_default as default };
