import React from 'react' //HACK: worked around missing Teaser type by declaring a module x-teaser.d.ts import { presets, Teaser } from '@financial-times/x-teaser' import { ContentProps } from '../../types' import type * as ComponentWorkarounds from '../Workarounds' // Renders an "inset" variant Recommended teaser component // to be used in Live Blogs // `` is imported from x-dash // https://github.com/Financial-Times/x-dash/tree/main/components/x-teaser) interface RecommendedProps extends ContentProps {} const RecommendedLivePost: React.FC = ({ content: { teaser }, }) => { if (!teaser) { return null } return ( ) } export default RecommendedLivePost