[Feature Request] support <Icon> Component #1845
-
Describe the featurelike Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Unlike Also I personally not found this useful, anyway thanks for your idea, and I extract the icon logic in to a component in 7b14c2d and you should be able to import |
Beta Was this translation helpful? Give feedback.
-
temporarily use <template>
<i :class="['icon', iconPrefix + icon]"></i>
</template>
<script setup lang="ts">
import { defineProps } from 'vue';
import { themeOption } from '../configs/theme';
defineProps<{
icon: string;
}>();
const iconPrefix = themeOption.iconPrefix || '';
</script>
<style scoped>
</style> |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
<FontIcon>
is supported since beta.67