| 3 | import CopyIcon from "./icons/CopyIcon"; |
| 4 | |
| 5 | interface CodeExampleProps { |
| 6 | /** Markdown content to display; falls back to default example if not provided */ |
| 7 | code?: string; |
| 8 | /** Optional URL for "View on GitHub" link */ |
| 9 | href?: string; |
| 10 | /** If true, render only the code block without the section wrapper */ |
| 11 | compact?: boolean; |
| 12 | /** Override Tailwind height classes for the <pre> block */ |
| 13 | heightClass?: string; |
| 14 | |
| 15 | /** |
| 16 | * When true, vertically center the content and copy button – useful for |
| 17 | * single-line shell commands shown inside a short container (e.g. FAQ). |
| 18 | */ |
| 19 | centerVertically?: boolean; |
| 20 | } |
| 21 | |
| 22 | export const HERO_AGENTS_MD = `# AGENTS.md |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected