Anvil/assets/index-Crs22r_a.js

2 lines
392 B
JavaScript
Raw Normal View History

2024-07-05 16:28:36 +02:00
import{R as e}from"./index-DWkBqs4X.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};