iep-ui
Version:
An enterprise-class UI design language and Vue-based implementation
41 lines (36 loc) • 729 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
var _rkWebIcon = require('rk-web-icon');
exports['default'] = {
props: {
type: {
type: String
}
},
methods: {
handleTap: function handleTap(event) {
event.stopPropagation();
event.preventDefault();
this.$emit('click');
}
},
render: function render() {
var _this = this;
var h = arguments[0];
var type = this.$props.type;
return h(
'div',
{ 'class': 'iep-button-icon', on: {
'click': function click(e) {
return _this.handleTap(e);
}
}
},
[h(_rkWebIcon.IepIcon, {
attrs: { type: type }
})]
);
}
};
;