ClassProperty
Renders a property row with a colored left border, label, name, and optional link.
| Prop | Type | Default | Description |
|---|---|---|---|
name | string | required | Property name |
highlight | string | "variable" | Syntax highlight type |
label | string | "prop" | Display label |
target | string | — | Link URL |
The default slot typically contains a ClassPropertyType component.
Example
Section titled “Example”<CB.ClassProperty name="maxRetries" label="field"> <CB.ClassPropertyType type="number" /></CB.ClassProperty>