import { ArrowRight } from './icons'; /** * An example that opens on a page of its own, as a docs page shows it: its screenshot, a link to * that page with a button that says so. It's the preview of a `CodeExampleCard`, so the example's * code is still under it. The button names the link; the picture is only its face. */ export function ExamplePoster({ src, width, height, href, }: { /** The screenshot, and its size in pixels. */ src: string; width: number; height: number; /** The example's own page. */ href: string; }) { return ( Open the example ); }