import type DynamicPage from "./DynamicPage.js"; import DynamicPageHeaderActions from "./DynamicPageHeaderActions.js"; export default function DynamicPageTemplate(this: DynamicPage) { return (
{this.headerInTitle && } {this.actionsInTitle && headerActions.call(this)}
{this.headerInContent && } {!this.actionsInTitle && headerActions.call(this)}
{this.showFooter &&
}
); } function headerActions(this: DynamicPage) { if (!this.hasSnappedTitleOnMobile && this.hasHeading) { return ( ); } }