ICT30016-Assignment-3/node_modules/framer-motion/dist/es/utils/get-context-window.mjs
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

6 lines
202 B
JavaScript

// Fixes https://github.com/motiondivision/motion/issues/2270
const getContextWindow = ({ current }) => {
return current ? current.ownerDocument.defaultView : null;
};
export { getContextWindow };