active chart menu, using markdown to jsx

This commit is contained in:
Jan Prochazka
2020-12-10 14:24:41 +01:00
parent 5256deb567
commit 7a0883ea03
6 changed files with 67 additions and 280 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import styled from 'styled-components';
import _ from 'lodash';
import ReactMarkdown from 'react-markdown';
import Markdown from 'markdown-to-jsx';
import useTheme from '../theme/useTheme';
import useFetch from '../utility/useFetch';
import LoadingInfo from '../widgets/LoadingInfo';
@@ -109,7 +109,7 @@ function PluginTabCore({ packageName }) {
</HeaderLine>
</HeaderBody>
</Header>
<ReactMarkdown>{readme}</ReactMarkdown>
<Markdown>{readme}</Markdown>
</>
);
}