all files / src/icon/ icon.vue

100% Statements 0/0
100% Branches 0/0
100% Functions 0/0
100% Lines 0/0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                                       
<template>
  <svg class="w-icon" aria-hidden="true" @click="$emit('click', $event)">
    <use :xlink:href="`#i-${name}`"></use>
  </svg>
</template>
<script>
import './svg.js'
 
export default {
  name: "WheelIcon",
  props: ['name']
};
</script>
<style lang='scss' scoped>
.w-icon {
  height: 1em;
  width: 1em;
}
</style>