Skip to content

ClassExtends

Renders an inheritance row with a colored left border, label, parent name, source, and optional link.

PropTypeDefaultDescription
namestringrequiredParent class/interface name
sourcestringSource file path
highlightstring"object"Syntax highlight type
labelstring"extends"Display label (e.g. "inherits", "implements")
targetstringLink URL
<CB.ClassExtends name="EventEmitter" source="node:events" label="extends" />