{#each sortedList as item}
{ dispatch(item.selected ? "deselect" : "select", item._id) }} class="item" > {#if iconComponent} {/if}
{item[labelKey]}
{#if item.selected}
{/if}
{/each}