<script setup lang="ts">
import { computed } from 'vue'

const props = defineProps({
  prefix: {
    type: String,
    default: 'icon'
  },
  iconClass: {
    type: String,
    required: false
  },
  color: {
    type: String
  },
  size: {
    type: String,
    default: '1em'
  }
})

const symbolId = computed(() => `${props.iconClass} iconfont`)
</script>

<template>
  <div class="icon-font">
    <i :class="symbolId"></i>
  </div>
</template>

<style scoped lang="scss"></style>
