'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React, { createContext, use, useState } from 'react';
const ActionsContext = /*#__PURE__*/ createContext({
    Actions: {},
    setViewActions: ()=>{}
});
export const useActions = ()=>use(ActionsContext);
export const ActionsProvider = ({ Actions, children })=>{
    const [viewActions, setViewActions] = useState(Actions);
    return /*#__PURE__*/ _jsxDEV(ActionsContext, {
        value: {
            Actions: {
                ...viewActions,
                ...Actions
            },
            setViewActions
        },
        children: children
    }, void 0, false, {
        fileName: "src/providers/Actions/index.tsx",
        lineNumber: 28,
        columnNumber: 5
    }, this);
};

//# sourceMappingURL=index.js.map