Standardizes the authors that serve as the byline for article posts. One example usage is within @nerdwallet/react-content-page-header
.
Variants
Default
Without a date
Development
import AuthorByline from '@nerdwallet/react-author-byline';<AuthorByline />;
Props
<AuthorByline>
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
Accepts an ISO8601 date string. Will be formatted to:
Month date, year - eg. January 27, 2020