diff options
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; - - |