Skip to content

ClassMethodOutput

Renders a return type row with type name, optional description, and optional hint/link.

PropTypeDefaultDescription
typestringrequiredReturn type
highlightstring"type"Syntax highlight type
hintstring—Hint text shown below the row
targetstring—Link URL

The default slot is the return value description.

<CB.ClassMethodOutput type="Promise<User[]>">
A list of matching users
</CB.ClassMethodOutput>