index.js 406 B

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