Last active
May 7, 2020 14:20
-
-
Save iksena/c68931fdc12652f28c2e479f845e5fff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactMarkdown from 'react-markdown'; | |
const _mapProps = (props) => ({ | |
...props, | |
escapeHtml: false | |
}); | |
const Markdown = (props) => <ReactMarkdown {..._mapProps(props)} />; | |
export default Markdown; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment