Standard component for large headings at the top of content pages. Composed by the larger molecule, <WordPressContentPageHeader />
.
Variants
No byline HREF
Props
<ContentPageHeader>
advertiserDisclosureType
= PRODUCT_TYPES.CREDIT_CARDS
PRODUCT_TYPES.CREDIT_CARDS | PRODUCT_TYPES.INVESTING
Type of messaging the advertiser disclosure will render. Currently supports "investing" or the default. See the AdvertiserDisclosure propTypes for more information.
authors
Array<Object>
Required
1 or more authors that will be rendered (as a Type or optional Link) in the byline.
Array<{}>
name: string Required
url: string
authoringDate
string
Required
Accepts an ISO 8601 date string. Will be formatted to:
Month date, year - eg. January 27, 2020
category
string
Content category.
enableAnalytics
boolean | Object
Flag indicating whether or not to enable bedrock analytics tracking.
bool | {}
onClick: bool
onHover: bool
hideAdvertiserDisclosure
boolean
Flag indicating whether or not to show the AdvertiserDisclosure component.
hideAuthorByline
boolean
Flag indicating whether or not to show the author by line
hideEditorialStandards
boolean
Flag indicating whether or not to show the EditorialStandards component.
title
string
Required
Title content string.
synopsis
node | string
Synopsis (main body).