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