import React from 'react'; import classnames from 'classnames'; import SyntaxHighlighter from 'react-syntax-highlighter'; import { docco } from 'react-syntax-highlighter/dist/esm/styles/hljs'; function CodeBlock({ children, language = 'html', full = false, wrap = false }) { var fullClass = classnames({ 'is-code-full': full }); var codeClass = classnames({ code: true, 'code-wrap': wrap }); return (