diff options
author | eug-vs <eug-vs@keemail.me> | 2020-04-05 21:57:13 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-04-05 21:57:54 +0300 |
commit | 09f8c6865fb9a7e239cc907e313db44cccb7b5e8 (patch) | |
tree | 20bb8a8a8a373513b14151469111d4040f81f338 /src/lib/Markdown/Paragraph.tsx | |
parent | 1f67a4e15b9ab10f8ecba2ee93e6a4c44e3c71ec (diff) | |
download | react-benzin-09f8c6865fb9a7e239cc907e313db44cccb7b5e8.tar.gz |
feat: Paragraph -> Text, parse selfClosingHtml
Diffstat (limited to 'src/lib/Markdown/Paragraph.tsx')
-rw-r--r-- | src/lib/Markdown/Paragraph.tsx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/Markdown/Paragraph.tsx b/src/lib/Markdown/Paragraph.tsx deleted file mode 100644 index f46199e..0000000 --- a/src/lib/Markdown/Paragraph.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -import { InlineParserPropTypes } from './types'; -import InlineSyntax, { splitter } from './InlineSyntax'; - -const Paragraph: React.FC<InlineParserPropTypes> = ({ line }) => { - const result = line.split(splitter).map(span => <InlineSyntax line={span} />); - return <p> {result} </p>; -} - -export default Paragraph; - - |