{#if inline}
{@render children()}
{:else}
(open = !open)} > {@render icon()} {#if count}
{count}
{/if}
{@render children()}
{/if}