{#if paginated && !shouldHidePagination}
{#if rowCount}
{rowCount} items
{/if}
Page: {currentPage}
{perPage && rowCount ? `/ ${Math.ceil(rowCount / perPage)}` : ''}
{#if perPage !== undefined}
{/if}
{#if showNext}
{/if}
{:else if shouldLoadMore}
{/if}