import { animationControls } from "./animation-controls.js";
import { useEffect } from "react";
import { useConstant } from "../utils/use-constant.js";
function useAnimationControls() {
  var controls = useConstant(animationControls);
  useEffect(controls.mount, []);
  return controls;
}
var useAnimation = useAnimationControls;
export {
  useAnimation,
  useAnimationControls
};
//# sourceMappingURL=use-animation.js.map
