diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-04-18 21:31:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 21:31:11 +0300 |
commit | dee39c8ff8e9a417ba2b338beb942f9ad443adf3 (patch) | |
tree | a6b1bfa00f5ad925d57d3ded655a8103b911fad4 /src/lib/Markdown/CodeBlock.tsx | |
parent | 62df0ff96fc9ab832212d223150862c7667d9ffc (diff) | |
parent | 0c061c74bfd473be17be755cd19c8952dc115a91 (diff) | |
download | react-benzin-dee39c8ff8e9a417ba2b338beb942f9ad443adf3.tar.gz |
Merge pull request #13 from eug-vs/develop
Patch 3.1.1
Diffstat (limited to 'src/lib/Markdown/CodeBlock.tsx')
-rw-r--r-- | src/lib/Markdown/CodeBlock.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Markdown/CodeBlock.tsx b/src/lib/Markdown/CodeBlock.tsx index 5b8edec..394458e 100644 --- a/src/lib/Markdown/CodeBlock.tsx +++ b/src/lib/Markdown/CodeBlock.tsx @@ -1,8 +1,8 @@ import React from 'react'; -import { ParserPropTypes } from './types'; import { Paper } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; +import { ParserPropTypes } from './types'; const useStyles = makeStyles(theme => ({ root: { @@ -10,7 +10,7 @@ const useStyles = makeStyles(theme => ({ padding: theme.spacing(1), overflowX: 'auto', fontFamily: 'Monospace', - scrollbarColor: 'auto' + scrollbarColor: 'auto', }, })); @@ -21,7 +21,7 @@ const CodeBlock: React.FC<ParserPropTypes> = ({ rawLines }) => { {rawLines.map(line => <pre>{line}</pre>)} </Paper> ); -} +}; export default CodeBlock; |