'use client' import React from 'react' interface BlogImagePlaceholderProps { /** Cover-image URL. The hub passes a `useOgPlaceholderUrl({ title, siteName })` * result; embedders pass their own pre-resolved URL. When null, the * component renders nothing. */ imageUrl: string | null /** Used for the `alt` attribute. */ title: string className?: string } /** * Pure presentation wrapper for a cover-image / OG-placeholder fallback. * * Outer must be inline-content-model so this placeholder is HTML-valid * when rendered inside a markdown `
` (e.g. via the chat shell's
* compact `BlogCard` fallback). `` keeps the
* same visual behavior as the prior ` {
(e.currentTarget as HTMLImageElement).style.display = 'none'
}}
/>
)
}