add template and icons comps
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<script lang="ts">
|
||||
import { templateIcon } from '$lib/templateIcons';
|
||||
|
||||
let { name = undefined, size = 18, color = undefined }: {
|
||||
name?: string;
|
||||
size?: number;
|
||||
color?: string;
|
||||
} = $props();
|
||||
|
||||
const Cmp = $derived(templateIcon(name));
|
||||
</script>
|
||||
|
||||
<Cmp {size} {color} />
|
||||
Reference in New Issue
Block a user