import { h } from 'preact'; import { articlePropTypes } from '../../common-prop-types'; export const ContentTitle = ({ article }) => (

{article.flare_tag && ( {`#${article.flare_tag.name}`} )} {article.class_name === 'PodcastEpisode' && ( podcast )} {article.class_name === 'User' && ( person )}

); ContentTitle.propTypes = { article: articlePropTypes.isRequired, }; ContentTitle.displayName = 'ContentTitle';