<template>
  <div class="img-icon">
    <img :src="`/static/menu/${iconName}.png`" />
  </div>
</template>

<script>
export default {
  name: 'img-icon',
  props: {
    iconName: {
      type: String,
    },
  },
};
</script>

<style lang="scss">
.img-icon {
  width: 20px;
  height: 20px;
  overflow: hidden;
}
</style>
