Batch of views getting replaceableComponent decorators

This commit is contained in:
Travis Ralston
2021-03-08 20:23:34 -07:00
parent 3e189d2728
commit c359dff738
82 changed files with 164 additions and 2 deletions
@@ -17,7 +17,9 @@ limitations under the License.
import React from 'react';
import PropTypes from 'prop-types';
import {highlightBlock} from 'highlight.js';
import {replaceableComponent} from "../../../utils/replaceableComponent";
@replaceableComponent("views.elements.SyntaxHighlight")
export default class SyntaxHighlight extends React.Component {
static propTypes = {
className: PropTypes.string,