{#if $component.empty}
{:else if rows.length > 0} {#each rows as row}
{/each} {:else if loaded && noRowsMessage}
{/if}