import { h } from 'preact';
import PropTypes from 'prop-types';
import { articlePropTypes } from '../src/components/common-prop-types/article-prop-types';
import {
CommentsCount,
ContentTitle,
OrganizationHeadline,
PublishDate,
ReadingTime,
SaveButton,
SearchSnippet,
TagList,
ReactionsCount,
} from './components';
import { PodcastArticle } from './PodcastArticle';
/* global timeAgo */
export const Article = ({
article,
currentTag,
isBookmarked,
reactionsIcon,
commentsIcon,
videoIcon,
bookmarkClick,
}) => {
if (article && article.type_of === 'podcast_episodes') {
return