TempMonitor/src/lib/components/ui/breadcrumb/breadcrumb.svelte

22 lines
437 B
Svelte
Raw Normal View History

2025-05-19 16:25:20 +02:00
<script lang="ts">
import type { WithElementRef } from "$lib/utils.js";
import type { HTMLAttributes } from "svelte/elements";
let {
ref = $bindable(null),
class: className,
children,
...restProps
}: WithElementRef<HTMLAttributes<HTMLElement>> = $props();
2025-05-18 13:18:46 +02:00
</script>
2025-05-19 16:25:20 +02:00
<nav
bind:this={ref}
data-slot="breadcrumb"
class={className}
aria-label="breadcrumb"
{...restProps}
>
2025-05-18 13:18:46 +02:00
{@render children?.()}
</nav>