From e6119c357faba4ae9089a36a994c2e651560364a Mon Sep 17 00:00:00 2001 From: Vlad Grecu Date: Mon, 25 Sep 2023 18:03:32 +0300 Subject: [PATCH] fix/THQ-2815 Replace MarkdownToJsx with ReactMarkdown --- .../teleport-component-generator-react/src/react-mapping.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/teleport-component-generator-react/src/react-mapping.ts b/packages/teleport-component-generator-react/src/react-mapping.ts index 4fad5c0be..4161c2bbf 100644 --- a/packages/teleport-component-generator-react/src/react-mapping.ts +++ b/packages/teleport-component-generator-react/src/react-mapping.ts @@ -33,11 +33,11 @@ export const ReactMapping: Mapping = { }, }, 'markdown-node': { - elementType: 'Markdown', + elementType: 'ReactMarkdown', dependency: { type: 'package', - path: 'markdown-to-jsx', - version: '7.2.0', + path: 'react-markdown', + version: '8.0.7', }, }, 'html-node': {