first init

This commit is contained in:
ISMAIL MASSERAN
2026-06-08 11:37:14 +08:00
commit 94ecbe5887
1058 changed files with 87732 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<script setup lang="ts">
import * as lucideIcons from '@lucide/vue'
import { cn } from '@mykopkb/core/utils/cn'
import { computed, type HTMLAttributes } from 'vue'
export type Icon = keyof typeof lucideIcons
const props = defineProps<{
icon: Icon
class?: HTMLAttributes['class']
}>()
const iconComponent = computed(() => lucideIcons[props.icon] as any)
</script>
<template>
<component :is="iconComponent" :class="cn(
'size-4 stroke-1.5 [--color:currentColor] stroke-(--color) fill-(--color)/25',
props.class,
)
" />
</template>
+1
View File
@@ -0,0 +1 @@
export { default as Lucide, type Icon } from './Lucide.vue'