function assignRef(ref, value) {
  if (typeof ref === "function") {
    ref(value);
  } else if (ref) {
    ref.current = value;
  }
  return ref;
}
export {
  assignRef
};
//# sourceMappingURL=assignRef.js.map
