TempMonitor/src/lib/components/ui/input-otp/input-otp-separator.svelte

14 lines
269 B
Svelte
Raw Normal View History

2025-05-18 13:18:46 +02:00
<script>
import Dot from "lucide-svelte/icons/dot";
let { ref = $bindable(null), children, ...restProps } = $props();
</script>
<div bind:this={ref} role="separator" {...restProps}>
{#if children}
{@render children?.()}
{:else}
<Dot />
{/if}
</div>