Skip to content

ClassMethodInput

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

PropTypeDefaultDescription
namestringrequiredParameter name
typestring—Type annotation
highlightstring"parameter"Syntax highlight type for the name
typeHighlightstring—Syntax highlight type for the type annotation
hintstring—Hint text shown below the row (e.g. source file path)
targetstring—Link URL

The default slot is the parameter description text.

<CB.ClassMethodInput name="options" type="RequestOptions" hint="src/types.ts" target="/reference/types/">
Configuration for the request
</CB.ClassMethodInput>