@lg-chat/lg-markdown
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Lg Markdown

Installation

Yarn

yarn add @lg-chat/lg-markdown

NPM

npm install @lg-chat/lg-markdown

Example

Output HTML

Properties

Prop Type Description Default
children string Content rendered by the component
components object Override what React component will render the associated markdown tag, (e.g. {a: Anchor})
darkMode boolean Determines if the component should be rendered in dark mode false
... ReactMarkdownProps Other props from react-markdown false

Readme

Keywords

none

Package Sidebar

Install

npm i @lg-chat/lg-markdown

Weekly Downloads

48

Version

2.0.2

License

Apache-2.0

Unpacked Size

36.4 kB

Total Files

28

Last publish

Collaborators

  • brookescarlett