0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

use light version of syntax highlighter

This commit is contained in:
Conor Hastings 2017-07-22 22:24:02 -04:00
parent 4e435e1ac7
commit d1b30a58e2

View file

@ -1,10 +1,13 @@
import React from 'react';
import SyntaxHighlighter from 'react-syntax-highlighter/dist/index';
import SyntaxHighlighter, {registerLanguage} from 'react-syntax-highlighter/dist/light';
import sunburst from 'react-syntax-highlighter/src/styles/sunburst';
import js from 'react-syntax-highlighter/dist/languages/javascript';
import classes from './help.scss';
registerLanguage('javascript', js);
const Help = () => {
return (
<div className={classes.help}>