"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const assignRef = require("./assignRef.js");
const useRef = require("./useRef.js");
function useMergeRefs(refs, defaultValue) {
  return useRef.useCallbackRef(defaultValue || null, function(newValue) {
    return refs.forEach(function(ref) {
      return assignRef.assignRef(ref, newValue);
    });
  });
}
exports.useMergeRefs = useMergeRefs;
//# sourceMappingURL=useMergeRef.js.map
