{title}

{#if tripList.length > 0}
{/if}
{#if tripList.length === 0}

{emptyMessage}

{:else if view === 'tile'}
{#each tripList as trip} {/each}
{:else} {/if}