20 lines
382 B
JavaScript
20 lines
382 B
JavaScript
import { VantComponent } from '../common/component';
|
|
VantComponent({
|
|
props: {
|
|
info: null,
|
|
name: String,
|
|
size: String,
|
|
color: String,
|
|
customStyle: String,
|
|
classPrefix: {
|
|
type: String,
|
|
value: 'van-icon'
|
|
}
|
|
},
|
|
methods: {
|
|
onClick() {
|
|
this.$emit('click');
|
|
}
|
|
}
|
|
});
|