index.js 340 Bytes
Newer Older
李嘉林 committed
1 2
import { VantComponent } from '../common/component';
VantComponent({
程默 committed
3 4 5 6 7 8 9 10 11
  props: {
    dot: Boolean,
    info: null,
    size: null,
    color: String,
    customStyle: String,
    classPrefix: {
      type: String,
      value: 'van-icon',
李嘉林 committed
12
    },
程默 committed
13 14 15 16 17 18 19
    name: String,
  },
  methods: {
    onClick() {
      this.$emit('click');
    },
  },
李嘉林 committed
20
});