{#snippet child({ props })} e.stopPropagation()} > {@render iconComponent(triggerIcon, 'h-3 w-3')} {#if triggerTooltip} {triggerTooltip} {/if} {/snippet} {#if triggerTooltip}

{triggerTooltip}

{/if}
{#each actions as action, index (action.label)} {#if action.separator && index > 0} {/if}
{@render iconComponent( action.icon, `h-4 w-4 ${action.variant === 'destructive' ? 'text-destructive' : ''}` )} {action.label}
{#if action.shortcut} {/if}
{/each}
{#snippet iconComponent(IconComponent: Component, className: string)} {/snippet}