blob: 7621de6d7c014b55b090fbe27b54e842099769ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<script>
export let name;
export let withArrow = false;
export let isLink = false;
</script>
<li class="breadcrumbs__item">
<span class="color-inherit {isLink ? 'cursor-pointer color-primary-light' : ''}"
on:click>{name}</span>
{#if withArrow}
<svg class="icon margin-left-xxxs color-contrast-low"
aria-hidden="true"
viewBox="0 0 16 16">
<polyline fill="none"
stroke="currentColor"
stroke-width="1"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
points="6.5,3.5 11,8 6.5,12.5 "></polyline>
</svg>
{/if}
</li>
|