仿互站小程序
This commit is contained in:
18
vant/icon/index.js
Normal file
18
vant/icon/index.js
Normal file
@@ -0,0 +1,18 @@
|
||||
(0, require("../common/component").VantComponent)({
|
||||
props: {
|
||||
info: null,
|
||||
name: String,
|
||||
size: String,
|
||||
color: String,
|
||||
customStyle: String,
|
||||
classPrefix: {
|
||||
type: String,
|
||||
value: "van-icon"
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onClick: function() {
|
||||
this.$emit("click");
|
||||
}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user