feat: separate markdown main component
This commit is contained in:
parent
2dae9a679a
commit
bd0192c6dd
|
@ -0,0 +1,7 @@
|
||||||
|
import ReactMarkdown from 'react-markdown'
|
||||||
|
|
||||||
|
const Markdown = ({ children }) => {
|
||||||
|
return <ReactMarkdown children={children} components={{ a: Linkk }} />
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Markdown
|
Loading…
Reference in New Issue