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

Merge pull request #260 from conorhastings/use-react-synax-highlighter-light

use light version of syntax highlighter
This commit is contained in:
Juan Picado @jotadeveloper 2017-07-23 11:44:17 +02:00 committed by GitHub
commit aeb9580870

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}>