Files
GNX-mailEnterprise/frontend/node_modules/framer-motion/dist/es/frameloop/index-legacy.mjs
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

21 lines
392 B
JavaScript

import { stepsOrder } from './batcher.mjs';
import { frame, cancelFrame } from './frame.mjs';
/**
* @deprecated
*
* Import as `frame` instead.
*/
const sync = frame;
/**
* @deprecated
*
* Use cancelFrame(callback) instead.
*/
const cancelSync = stepsOrder.reduce((acc, key) => {
acc[key] = (process) => cancelFrame(process);
return acc;
}, {});
export { cancelSync, sync };