import { useMemo } from "react";
import setRef from "./setRef";
export default function useForkRef(refA, refB) {
  return useMemo(() => {
    return refValue => {
      setRef(refA, refValue);
      setRef(refB, refValue);
    };
  }, [refA, refB]);
}
//# sourceMappingURL=useForkRef.js.map