clqms-shadcn-v1/src/lib/components/ui/breadcrumb/breadcrumb-page.svelte
2026-02-01 21:47:55 +07:00

22 lines
363 B
Svelte

<script>
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
children,
...restProps
} = $props();
</script>
<span
bind:this={ref}
data-slot="breadcrumb-page"
role="link"
aria-disabled="true"
aria-current="page"
class={cn("text-foreground font-normal", className)}
{...restProps}
>
{@render children?.()}
</span>