2.0.2 • Published 1 year ago

@lg-chat/lg-markdown v2.0.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

Lg Markdown

Installation

Yarn

yarn add @lg-chat/lg-markdown

NPM

npm install @lg-chat/lg-markdown

Example

Output HTML

Properties

PropTypeDescriptionDefault
childrenstringContent rendered by the component
componentsobjectOverride what React component will render the associated markdown tag, (e.g. {a: Anchor})
darkModebooleanDetermines if the component should be rendered in dark modefalse
...ReactMarkdownPropsOther props from react-markdownfalse