"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = useRefs;
var _vue = require("vue");
function useRefs() {
  const refs = (0, _vue.ref)(new Map());
  function setRef(key, element) {
    refs.value.set(key, element);
  }
  const getRef = key => refs.value.get(key);
  return {
    getRef,
    setRef
  };
}