import React from 'react'; import { Container } from './styles'; import { RelatedArticle, RelatedArticleType } from './RelatedArticle'; import { SingleRelatedArticle } from './SingleRelatedArticle'; import { TrackingContextProvider } from '../../helpers/tracking/TrackingContextProvider'; type RelatedArticlesProps = { sectionColour: string; heading: string; relatedArticles: RelatedArticleType[]; showImages?: boolean; }; export const InArticleRelatedArticles = ({ heading, relatedArticles, sectionColour, showImages = true }: RelatedArticlesProps) => ( {({ intersectObserverRef }) => ( {heading &&
{heading}
}
)}
);