heartbeat-monitor/node_modules/framer-motion/dist/es/utils/get-context-window.mjs

8 lines
250 B
JavaScript

// Fixes https://github.com/motiondivision/motion/issues/2270
const getContextWindow = ({ current }) => {
return current ? current.ownerDocument.defaultView : null;
};
export { getContextWindow };
//# sourceMappingURL=get-context-window.mjs.map