diff --git a/src/components/General/Markdown/Markdown.tsx b/src/components/General/Markdown/Markdown.tsx index ab166d18..b9646d55 100644 --- a/src/components/General/Markdown/Markdown.tsx +++ b/src/components/General/Markdown/Markdown.tsx @@ -1,12 +1,14 @@ import ReactMarkdown from 'react-markdown' + import MarkdownLink from './MarkdownLink' +import MarkdownText from './MarkdownText' type MarkdownProps = { children: string } const Markdown = ({ children }: MarkdownProps) => { - return + return } export default Markdown diff --git a/src/components/General/Markdown/MarkdownLink.tsx b/src/components/General/Markdown/MarkdownLink.tsx index 73885ea3..96b4edc8 100644 --- a/src/components/General/Markdown/MarkdownLink.tsx +++ b/src/components/General/Markdown/MarkdownLink.tsx @@ -2,11 +2,7 @@ import { Link } from 'react-router-dom' const MarkdownLink = (props: any) => { return ( - + {props.children} ) diff --git a/src/components/General/Markdown/MarkdownText.tsx b/src/components/General/Markdown/MarkdownText.tsx new file mode 100644 index 00000000..82764962 --- /dev/null +++ b/src/components/General/Markdown/MarkdownText.tsx @@ -0,0 +1,14 @@ +import { Text } from '@status-im/components' +import { Stack } from 'tamagui' + +const MarkdownText = (props: any) => { + return ( + + + {props.children} + + + ) +} + +export default MarkdownText