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
Parameter | Type |
---|---|
props | MarkdownCardProps |
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
Member | Type |
---|---|
hasWrapper | boolean |
mdText | string | null |
Source
libs/design-system-core/src/components/MarkdownCard/index.tsx:8