Anvil/assets/index-zNE6cEuh.js

2 lines
392 B
JavaScript
Raw Normal View History

2024-07-05 09:29:52 +02:00
import{R as e}from"./index-CpLdaVek.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{a as M,u};