'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React, { createContext, use, useState } from 'react';
export const useStepNav = ()=>use(Context);
export const Context = /*#__PURE__*/ createContext({
    setStepNav: ()=>{
        if (process.env.NODE_ENV !== 'production') {
            // eslint-disable-next-line no-console
            console.warn('StepNavProvider is missing; `setStepNav` is a no-op.');
        }
    },
    stepNav: []
});
export const StepNavProvider = ({ children })=>{
    const [stepNav, setStepNav] = useState([]);
    return /*#__PURE__*/ _jsxDEV(Context, {
        value: {
            setStepNav,
            stepNav
        },
        children: children
    }, void 0, false, {
        fileName: "src/elements/StepNav/context.tsx",
        lineNumber: 22,
        columnNumber: 5
    }, this);
};

//# sourceMappingURL=context.js.map