{#each state.children as child, index (child.path)} icon
{child.name}
{#if child.id}
share {/if} {/each}