mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-23 09:49:17 +00:00
fix: remove markdown text
This commit is contained in:
parent
5ad716c495
commit
d81fd7df47
@ -2,13 +2,19 @@ import ReactMarkdown from 'react-markdown'
|
||||
|
||||
import MarkdownLink from './MarkdownLink'
|
||||
import MarkdownText from './MarkdownText'
|
||||
import MarkdownCode from './MarkdownCode'
|
||||
|
||||
type MarkdownProps = {
|
||||
children: string
|
||||
}
|
||||
|
||||
const Markdown = ({ children }: MarkdownProps) => {
|
||||
return <ReactMarkdown children={children} components={{ a: MarkdownLink, p: MarkdownText }} />
|
||||
return (
|
||||
<ReactMarkdown
|
||||
children={children}
|
||||
components={{ a: MarkdownLink}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default Markdown
|
||||
|
Loading…
x
Reference in New Issue
Block a user