JSDocExample
Create a JSDoc example set off with @example. When the fenced prop is true, a language prop can
also be set.
import { JSDocExample } from "@alloy-js/typescript";
<JSDocExample fenced language="string"> {children}</JSDocExample>import { JSDocExample } from "@alloy-js/typescript/stc";
JSDocExample({ fenced: boolean, language: string }).children(children)| children | Children |
| fenced | optionalboolean |
| language | optionalstring |