1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-25 17:02:04 +03:00

Flag structural components as replaceable

This commit is contained in:
Travis Ralston
2021-03-08 19:35:10 -07:00
parent b12cf7912a
commit c230a75eda
38 changed files with 77 additions and 0 deletions

View File

@ -21,8 +21,10 @@ import PropTypes from 'prop-types';
import SyntaxHighlight from '../views/elements/SyntaxHighlight';
import {_t} from "../../languageHandler";
import * as sdk from "../../index";
import {replaceableComponent} from "../../utils/replaceableComponent";
@replaceableComponent("structures.ViewSource")
export default class ViewSource extends React.Component {
static propTypes = {
content: PropTypes.object.isRequired,