{/* 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 &&
}
>
:
{entityVerb} {paginationLabel}
}
>}
{/* Content C: Nav */}
{selectedPhoto
? renderPrevNext()
: renderDateRange()}
,
]}
/>
);
}