import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { _objectWithoutProperties } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
import ActionsContext from "./ActionsContext.js";
import React from "react";
//#region src/components/dataSourceComponents/provider/actions/ActionsProvider.tsx
const _excluded = ["children"];
/**
* 自定义请求的provider
* @param props
* @constructor
*/
const ActionsProvider = (props) => {
	const { children } = props, rest = _objectWithoutProperties(props, _excluded);
	const value = React.useMemo(() => {
		return _objectSpread2({}, rest);
	}, [rest]);
	return /* @__PURE__ */ React.createElement(ActionsContext.Provider, { value }, children);
};
//#endregion
export { ActionsProvider as default };
