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': {