UNPKG

@uva-glass/component-library

Version:

React components UvA

23 lines (22 loc) 715 B
import { useContext as l, createContext as u } from "react"; const c = u(null); function a(r, n) { return { getTheme: function() { return n ?? null; } }; } function f() { const r = l(c); return r == null && function(n, ...o) { const t = new URL("https://lexical.dev/docs/error"), e = new URLSearchParams(); e.append("code", n); for (const i of o) e.append("v", i); throw t.search = e.toString(), Error(`Minified Lexical error #${n}; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`); }(8), r; } export { f as o, c as r, a as t }; //# sourceMappingURL=LexicalComposerContext.prod-DLlRM5wP.js.map