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

7 lines
194 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
// Fixes https://github.com/framer/motion/issues/2270
const getContextWindow = ({ current }) => {
return current ? current.ownerDocument.defaultView : null;
};
export { getContextWindow };