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 @@ limitations under the License.
import React from 'react';
import PropTypes from 'prop-types';
import Highlight from '../views/elements/Highlight';
import SyntaxHighlight from '../views/elements/SyntaxHighlight';
module.exports = React.createClass({
@ -48,9 +48,9 @@ module.exports = React.createClass({
render: function() {
return (
<div className="mx_ViewSource">
<Highlight className="json">
<SyntaxHighlight className="json">
{ JSON.stringify(this.props.content, null, 2) }
</Highlight>
</SyntaxHighlight>
</div>
);
}