UNPKG

@figliolia/react-hooks

Version:

A small collection of simple React Hooks you're probably rewriting on a regular basis

10 lines (9 loc) 429 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useAnimationFrame = void 0; const AnimationFrame_1 = require("../Generics/AnimationFrame"); const useFloatingTaskManager_1 = require("./useFloatingTaskManager"); const useAnimationFrame = () => { return (0, useFloatingTaskManager_1.useFloatingTaskManager)(AnimationFrame_1.AnimationFrame); }; exports.useAnimationFrame = useAnimationFrame;