@figliolia/react-hooks
Version:
A small collection of simple React Hooks you're probably rewriting on a regular basis
11 lines (10 loc) • 376 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AnimationFrame = void 0;
const FloatingTaskManager_1 = require("./FloatingTaskManager");
class AnimationFrame extends FloatingTaskManager_1.FloatingTaskManager {
constructor() {
super(requestAnimationFrame, cancelAnimationFrame);
}
}
exports.AnimationFrame = AnimationFrame;