Skip to main content

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

ParameterType
propsInfoCardProps
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

MemberType
assetExtensionstring
assetNamestring
bodyLabelReactNode
bodyVariantTextProps["variant"]
customWidthStylestring
publicImgPathstring
titleLabelReactNode
titleVariantTextProps["variant"]

Source

libs/design-system-core/src/components/InfoCard/index.tsx:7