mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 01:10:40 +01:00
feat: migrate to @egoist/tailwindcss-icons
This commit is contained in:
16
src/runtime/components/elements/Icon.vue
Normal file
16
src/runtime/components/elements/Icon.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<span :class="name" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps({
|
||||
name: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
export default { name: 'UIcon' }
|
||||
</script>
|
||||
Reference in New Issue
Block a user