import React , { Fragment } from 'react' ; import ReactMarkdown from 'react-markdown' ; const markdownRenderers = { root : Fragment , } ; export interface MarkdownSimpleProps { children : string ; } export const MarkdownSimple = ( { children } ) => ( < ReactMarkdown renderers = { markdownRenderers } > { children } < /ReactMarkdown>); export default MarkdownSimple ;