feat: change libraly icons

This commit is contained in:
ngthanhvu
2026-07-25 10:39:40 -04:00
parent 856c514c15
commit 6c1dd39935
33 changed files with 827 additions and 459 deletions
+16
View File
@@ -0,0 +1,16 @@
<script setup lang="ts">
import type { IconName } from '~/lib/icons'
import { getIcon } from '~/lib/icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
const props = defineProps<{
name: IconName
class?: string
}>()
const icon = computed(() => getIcon(props.name))
</script>
<template>
<FontAwesomeIcon :icon="icon" :class="props.class" />
</template>