You need to sign in or sign up before continuing.
IconFont.vue 711 Bytes
<!--
 * @Date: 2026-01-29 21:30:20
 * @LastEditors: hookehuyr hookehuyr@gmail.com
 * @LastEditTime: 2026-01-30 18:13:56
 * @FilePath: /manulife-weapp/src/components/IconFont.vue
 * @Description: 图标字体组件
-->
<template>
    <IconFontBase :name="name" :size="size" :color="color" :class="customClass" />
</template>

<script setup>
import { IconFont as IconFontBase } from '@nutui/icons-vue-taro'

const props = defineProps({
    name: {
        type: String,
        required: true
    },
    size: {
        type: [String, Number],
        default: ''
    },
    color: {
        type: String,
        default: ''
    },
    customClass: {
        type: String,
        default: ''
    }
})
</script>