feat: separate markdown main component

This commit is contained in:
RadoslavDimchev 2023-10-26 08:37:05 +03:00
parent 2dae9a679a
commit bd0192c6dd
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import ReactMarkdown from 'react-markdown'
const Markdown = ({ children }) => {
return <ReactMarkdown children={children} components={{ a: Linkk }} />
}
export default Markdown