in src/components/CodeBlock/index.tsx [78:92]
render() {
if (this.props.children === undefined) return <div></div>;
const oneLine =
this.props.lineCount === "1" || this.props.language === CONSOLE;
return (
<CodeBlockStyle oneLine={oneLine}>
{this.lineNumbers()}
<CodeHighlightStyle ref={this.setElement}>
{this.props.children}
</CodeHighlightStyle>
{this.copyButton()}
</CodeBlockStyle>
);
}