{#if typeof element === 'string'} {element} {:else}
{#each element.children as child}
{/each}
{/if}