ci: added commit lint, build check, test and release (#31)
* ci: added commit lint, build check, test and release * refactor: fix compilation errors * ci: add checkout to the tests * test: resolved issues with running tests * chore: addressed PR comments * chore: renamed package-name in release-please
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import SyntaxHighlighter from 'react-syntax-highlighter';
|
||||
import { hybrid } from 'react-syntax-highlighter/dist/esm/styles/hljs';
|
||||
|
||||
interface IProps {
|
||||
code: string,
|
||||
@@ -12,7 +11,6 @@ const CodeBlock = (props: IProps) => {
|
||||
<div style={{textAlign:'left'}}>
|
||||
<SyntaxHighlighter
|
||||
language={props.language}
|
||||
style={hybrid}
|
||||
showLineNumbers={props.showLineNumbers}
|
||||
>
|
||||
{props.code}
|
||||
|
||||
Reference in New Issue
Block a user