UNPKG

scrivito-pisasales-questionnaire-builder

Version:
14 lines (13 loc) 445 B
import { jsx as e } from "react/jsx-runtime"; import { useContext as r, createContext as i } from "react"; const t = i(void 0), d = () => { const o = r(t); if (!o) throw new Error("useConditionContext must be used within a ConditionProvider"); return o; }, u = ({ children: o, value: n }) => /* @__PURE__ */ e(t.Provider, { value: n, children: o }); export { u as C, d as u }; //# sourceMappingURL=ConditionContext-e5qF-3Gv.js.map