import React, { createContext, useContext } from "react";
const ContentStepperContext = /*#__PURE__*/createContext(undefined);
export const ContentStepperContextProvider = _ref => {
  let {
    children,
    value
  } = _ref;
  return /*#__PURE__*/React.createElement(ContentStepperContext.Provider, {
    value: value
  }, children);
};
export const useContentStepperContext = () => {
  const context = useContext(ContentStepperContext);
  if (context === undefined) {
    throw new Error("useContentWizardContext must be used within a ContentWizardContextProvider");
  }
  return context;
};
//# sourceMappingURL=ContentStepperContext.js.map