diff options
Diffstat (limited to 'src/lib/Markdown/Text.tsx')
-rw-r--r-- | src/lib/Markdown/Text.tsx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/Markdown/Text.tsx b/src/lib/Markdown/Text.tsx deleted file mode 100644 index be715fd..0000000 --- a/src/lib/Markdown/Text.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import React from 'react'; -import SyntacticSpan, { splitter } from './SyntacticSpan'; - -interface PropTypes { - line: string; -} - -const Text: React.FC<PropTypes> = ({ line }) => { - return <>{line.split(splitter).map(span => <SyntacticSpan span={span} />)}</>; -}; - -export default Text; - |