@vant/weapp
Version:
轻量、可靠的小程序 UI 组件库
24 lines (23 loc) • 537 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var component_1 = require("../common/component");
(0, component_1.VantComponent)({
classes: ['info-class'],
props: {
dot: Boolean,
info: null,
size: null,
color: String,
customStyle: String,
classPrefix: {
type: String,
value: 'van-icon',
},
name: String,
},
methods: {
onClick: function () {
this.$emit('click');
},
},
});