import { useRef as t, useEffect as e } from "react";
function f(r) {
  const n = t(null);
  return e(() => {
    !r || (typeof r == "function" ? r(n.current) : r.current = n.current);
  }), n;
}
export {
  f as useForwardedRef
};
//# sourceMappingURL=useForwardedRef.es.es.js.map
