"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function assignRef(ref, value) {
  if (typeof ref === "function") {
    ref(value);
  } else if (ref) {
    ref.current = value;
  }
  return ref;
}
exports.assignRef = assignRef;
