{#snippet child({ props })} {/snippet} {#each items as item} handleItemSelect(item.value)} closeOnSelect={autoClose} > {item.label} {/each}