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

14 lines
270 B
Svelte
Raw Normal View History

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