<template>
  <div class="onestop-icon" :class="'onestop-icon:'+iconName" @click.stop="clickHandler"></div>
</template>

<script>
export default {
  name: 'OnestopIcon',
  props: {
    iconName: {
      type: String,
      default: ''
    }
  },
  methods: {
    clickHandler (event) {
      this.$emit('click', event)
    }
  }
}
</script>
