"use strict";

exports.__esModule = true;
exports["default"] = void 0;
var _default = exports["default"] = function _default(ref, node) {
  if (typeof ref === "function") {
    ref(node);
  } else if (ref) {
    ref.current = node;
  }
};