water_sh/node_modules/@vant/weapp/dist/icon/index.js

22 lines
435 B
JavaScript
Raw Permalink Normal View History

2025-04-15 15:48:57 +08:00
import { VantComponent } from '../common/component';
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() {
this.$emit('click');
},
},
});