Skip to main content

MarkdownCard

Components

MarkdownCard()

MarkdownCard(props, context?): ReactNode

A MarkdownCard component is useful for displaying markdown text in your app. It comes in two forms: with and without a nice Card that wraps up your markdown text and this can be specified through props.

Parameters

ParameterType
propsMarkdownCardProps
context?any

Returns

ReactNode

Example

    <MarkdownCard mdText={md-doc} />

Source

libs/design-system-core/src/components/MarkdownCard/index.tsx:24

Props

MarkdownCardProps

MarkdownCardProps: object

Type declaration

MemberType
hasWrapperboolean
mdTextstring | null

Source

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