import{useCallback as t}from"react";import{isRefObject as o}from"../../utils/is-ref-object.js";function n(n,r,u){return t((function(t){var i;t&&(null===(i=n.mount)||void 0===i||i.call(n,t)),r&&(t?r.mount(t):r.unmount()),u&&("function"==typeof u?u(t):o(u)&&(u.current=t))}),[])}export{n as useMotionRef};
//# sourceMappingURL=use-motion-ref.js.map
