<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>
