import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
import * as __WEBPACK_EXTERNAL_MODULE__hooks_mjs__ from "./hooks.mjs";
const ActionContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)({});
ActionContext.displayName = 'ActionContext';
const ActionContextProvider = (props)=>{
    const contextProps = (0, __WEBPACK_EXTERNAL_MODULE__hooks_mjs__.useActionContext)();
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(ActionContext.Provider, {
        value: {
            ...contextProps,
            ...props,
            ...null == props ? void 0 : props.value
        },
        children: props.children
    });
};
export { ActionContext, ActionContextProvider };
