ClassExtends
Renders an inheritance row with a colored left border, label, parent name, source, and optional link.
| Prop | Type | Default | Description |
|---|---|---|---|
name | string | required | Parent class/interface name |
source | string | — | Source file path |
highlight | string | "object" | Syntax highlight type |
label | string | "extends" | Display label (e.g. "inherits", "implements") |
target | string | — | Link URL |
Example
Section titled “Example”<CB.ClassExtends name="EventEmitter" source="node:events" label="extends" />