(showMenu = true)} fullwidth {title}>
{#if renderedSelectedOption?.icon}
{/if}
{renderedSelectedOption.title}
{#if showMenu}
{#each options as option (option)} {@const renderedOption = renderOption(option)} {@const buttonStyle = renderedOption.disabled ? '' : 'transition-all hover:bg-gray-300 dark:hover:bg-gray-800'}
!renderedOption.disabled && handleSelectOption(option)} > {#if isEqual(selectedOption, option)}
{renderedOption.title}
{:else}
{renderedOption.title}
{/if}
{/each}
{/if}