import { jsx as r } from "react/jsx-runtime";
import { useContext as o } from "react";
import { StepperContext as p } from "../context/StepperContext.js";
const i = ({ children: e }) => {
  const t = o(p);
  if (!t) throw new Error("StepperLayoutBack must be used inside <StepperLayout>");
  return /* @__PURE__ */ r("div", { className: t.isFirst ? "invisible" : void 0, children: e });
};
i.displayName = "StepperLayoutBack";
export {
  i as StepperLayoutBack
};
//# sourceMappingURL=StepperLayoutBack.js.map
