import * as React from "react" interface CaptionImageProps { title?: string subtitle?: string src: string } export function CaptionImage({ title, subtitle, src }: CaptionImageProps) { return (
{title && (

{title}

)} {subtitle &&

{subtitle}

}
) }