DocExample interface
An example of an effect's docs: markup and optional code.
import type { DocExample } from '@dioramajs/diorama/effects'interface DocExampleMembers
| Name | Type | Description |
|---|---|---|
readonly html | string | Markup that uses the effect. |
readonly title | string | One line above the example. |
readonly ts? | string | Script next to the markup, if any. |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/doc.ts.