[AbstractCard] Show header/footer only if content is visible
So that clients can hide them conditionally, hiding the header
/footer
components,
as they have not access to headerParent
/ footerParent
.
So that clients can hide them conditionally, hiding the header
/footer
components,
as they have not access to headerParent
/ footerParent
.