import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import Vue from 'vue';
import "../../../src/scss/icon.scss";
export default Vue.extend({
  name: 'w-icon',
  props: {
    type: {
      type: String,
      required: true
    },
    large: Boolean
  },
  computed: {
    classes: function classes() {
      var _ref;

      var classType = "weui-icon-".concat(this.type);
      return _ref = {}, _defineProperty(_ref, classType, true), _defineProperty(_ref, 'weui-icon_msg', this.large), _ref;
    }
  },
  render: function render(h) {
    return h('span', {
      class: this.classes
    });
  }
});
//# sourceMappingURL=WIcon.js.map