InfoCard
Components
InfoCard()
InfoCard(
props
,context
?):ReactNode
An InfoCard component offers a quick way to include an informational card with text and an illustrative image. An example use case is an announcement that you want to put at the top so visitors can easily see.
Parameters
Parameter | Type |
---|---|
props | InfoCardProps |
context ? | any |
Returns
ReactNode
Example
<InfoCard
titleLabel={'Hello there!'}
bodyLabel={'There is nothing here!'}
publicImgPath={publicImgPath}
assetName="longbeam-notfound"
/>
Source
libs/design-system-core/src/components/InfoCard/index.tsx:40
Props
InfoCardProps
InfoCardProps:
object
Type declaration
Member | Type |
---|---|
assetExtension | string |
assetName | string |
bodyLabel | ReactNode |
bodyVariant | TextProps ["variant" ] |
customWidthStyle | string |
publicImgPath | string |
titleLabel | ReactNode |
titleVariant | TextProps ["variant" ] |