"use strict";
const vue = require("vue");
const constants = require("./constants-DxId_i-P.js");
const useNumberishToStyle = (el, unit = "px") => vue.computed(() => {
  const value = vue.toValue(el);
  const resolvedUnit = vue.toValue(unit);
  return constants.RX_NUMBER.test(String(value)) ? `${Number(value)}${resolvedUnit}` : value;
});
exports.useNumberishToStyle = useNumberishToStyle;
//# sourceMappingURL=useNumberishToStyle-ipmFoR-c.js.map
