SubtitleRenderer
Components
SubtitleRenderer()
SubtitleRenderer(
props
,context
?):ReactNode
Component used in the vibes and vibes console apps to create clickable text from a list of subtitles
Parameters
Parameter | Type |
---|---|
props | SubtitleRendererProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-components/src/components/SubtitleRenderer/index.tsx:21
Props
SubtitleLabel
SubtitleLabel:
object
Type declaration
Member | Type |
---|---|
label | string |
link | string |
Source
libs/design-system-components/src/components/SubtitleRenderer/index.tsx:6
SubtitleRendererProps
SubtitleRendererProps:
object
Type declaration
Member | Type |
---|---|
fontWeight | TextProps ["weight" ] |
onLinkClick | (link ?) => void |
subtitleLabels | SubtitleLabel [] |
textAlign | TextProps ["align" ] |
textColor | TextProps ["color" ] |
textVariant | TextProps ["variant" ] |
Source
libs/design-system-components/src/components/SubtitleRenderer/index.tsx:8