{#if iface === null}
Select an interface from the left panel, or import one.
{:else}
{#each iface.widgets as widget (widget.id)} {#if componentForType(widget.type) !== null} {@const Comp = componentForType(widget.type)}
{:else}
{widget.type}
{/if} {/each}
{/if}