{#if direction === "previous"}
Previous {:else} Next
{/if}