mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-11-13 17:08:20 +00:00
12 lines
240 B
Svelte
12 lines
240 B
Svelte
<script lang="ts">
|
|
import type { Component } from "svelte";
|
|
|
|
interface Props {
|
|
icon: Component<{ size?: number; class?: string }>;
|
|
size?: number;
|
|
}
|
|
let { icon: IconComp, size = 16 }: Props = $props();
|
|
</script>
|
|
|
|
<IconComp {size} />
|