{/* Content A: Filter Set or Photo Title */}
{headerType === 'photo-detail-with-entity'
? renderContentA
// Necessary for title truncation
:
{renderContentA}
}
{/* Content B: Filter Set Meta or Photo Pagination */}
{entity && <>
{headerType === 'photo-set'
? <>
{entityDescription}
{includeShareButton &&
}
>
:
{APP_TEXT.utility.paginate(
paginationIndex,
paginationCount,
entityVerb)}
}
>}
{/* Content C: Nav */}
{selectedPhoto
? renderPrevNext
: renderDateRange}
,
]}
/>
);
}