s/Highlight/SyntaxHighlight/

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-01-22 18:59:18 +00:00
parent 3764a5d4b7
commit f5fc86258f
5 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import {highlightBlock} from 'highlight.js';
export default class Highlight extends React.Component {
export default class SyntaxHighlight extends React.Component {
static propTypes = {
className: PropTypes.string,
children: PropTypes.node,
@@ -42,7 +42,7 @@ export default class Highlight extends React.Component {
render() {
const { className, children } = this.props;
return <pre className={`${className} mx_Highlight`} ref={this._ref}>
return <pre className={`${className} mx_SyntaxHighlight`} ref={this._ref}>
<code>{ children }</code>
</pre>;
}