"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = setRef;
function setRef(ref, value) {
  if (typeof ref === "function") {
    ref(value);
  } else if (ref) {
    ref.current = value;
  }
}
//# sourceMappingURL=setRef.js.map