"use strict";

exports.__esModule = true;
exports["default"] = void 0;
var opacityMap = {
  weak: 0.3,
  medium: 0.4,
  strong: 0.8,
  none: 1
};
var _default = exports["default"] = function _default(_ref) {
  var opacity = _ref.opacity;
  var value = opacity && opacityMap[opacity] || opacity;
  return value ? "opacity: " + value + ";" : "";
};