{#if forceMount} {#snippet popper({ props, wrapperProps })} {@const finalProps = mergeProps(props, { style: contentState.props.style }, { style })} {#if child} {@render child({ props: finalProps, wrapperProps, ...contentState.snippetProps })} {:else}
{@render children?.()}
{/if} {/snippet}
{:else if !forceMount} {#snippet popper({ props, wrapperProps })} {@const finalProps = mergeProps(props, { style: contentState.props.style }, { style })} {#if child} {@render child({ props: finalProps, wrapperProps, ...contentState.snippetProps })} {:else}
{@render children?.()}
{/if} {/snippet}
{/if}