Skip to content

ClassPropertyType

Renders a styled type annotation span, typically nested inside ClassProperty.

PropTypeDefaultDescription
typestringrequiredThe type string to display
highlightstring"type"Syntax highlight type
<CB.ClassPropertyType type="Map<string, User>" highlight="type" />