Skip to main content

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

ParameterType
propsSubtitleTextIconProps
context?any

Returns

ReactNode

Source

libs/design-system-core/src/components/SubtitleTextIcon/index.tsx:50

Props

SubtitleTextIconProps

SubtitleTextIconProps: object

Type declaration

MemberType
backgroundColorboolean
backgroundSizestring
customStylestring
dataTestIdstring
gap"xxsmall" | "xsmall" | "small" | "medium" | "large"
iconReact.ReactElement
labelstring | number
labelSize"button-sm" | "button-lg"
maxWidthstring
onClickReact.EventHandler<React.SyntheticEvent>
solidboolean
subtitlestring
subtitleIconIconType

Source

libs/design-system-core/src/components/SubtitleTextIcon/index.tsx:8