{#if entry.isDirectory}
{#if isLoading}
{:else if isExpanded}
{:else}
{/if}
{:else}
{/if}
{entry.name}
{#if entry.isDirectory && isExpanded && children.length > 0}
{#each children as child (child.path)}
{/each}
{/if}