{#each options as option, index}
- {
selectOnChange(index);
}}
id="listbox-item-0"
role="option"
class="group relative cursor-default select-none py-2 pl-3 pr-9 text-gray-900 hover:bg-blue-500 hover:text-white"
>
{#if option.img}

{/if}
{option.title}
{#if selected === index}
{/if}
{/each}