SubtitleTextIcon
Components
SubtitleTextIcon()
SubtitleTextIcon(
props
,context
?):ReactNode
The SubtitleTextIcon component serves a specific use case: to display two lines of content ( One
main text and a subtitle below it) and its associated icon side-by-side. It is used mainly in the
Latest Topics
widget in Akasha World.
Parameters
Parameter | Type |
---|---|
props | SubtitleTextIconProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-core/src/components/SubtitleTextIcon/index.tsx:50
Props
SubtitleTextIconProps
SubtitleTextIconProps:
object
Type declaration
Member | Type |
---|---|
backgroundColor | boolean |
backgroundSize | string |
customStyle | string |
dataTestId | string |
gap | "xxsmall" | "xsmall" | "small" | "medium" | "large" |
icon | React.ReactElement |
label | string | number |
labelSize | "button-sm" | "button-lg" |
maxWidth | string |
onClick | React.EventHandler <React.SyntheticEvent > |
solid | boolean |
subtitle | string |
subtitleIcon | IconType |
Source
libs/design-system-core/src/components/SubtitleTextIcon/index.tsx:8