import cx from 'classnames' import dayjs from 'dayjs' import { Link } from 'components/Link' import { ArrowRightIcon } from '@primer/octicons-react' import { FeaturedLink } from 'components/context/ProductLandingContext' import { TruncateLines } from 'components/ui/TruncateLines' import { BumpLink } from 'components/ui/BumpLink' export type ArticleListPropsT = { title?: string viewAllHref?: string articles: Array } export const ArticleList = ({ title, viewAllHref, articles }: ArticleListPropsT) => { return ( <> {title && (

{title}

{viewAllHref && ( View all )}
)} ) }