Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps

[SK-3] Decorate easy components with replaceableComponent
This commit is contained in:
Travis Ralston
2021-03-11 07:26:20 -07:00
committed by GitHub
296 changed files with 595 additions and 8 deletions
@@ -29,6 +29,7 @@ import GenericToast from "./GenericToast";
import {VerificationRequest} from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest";
import {DeviceInfo} from "matrix-js-sdk/src/crypto/deviceinfo";
import {Action} from "../../../dispatcher/actions";
import {replaceableComponent} from "../../../utils/replaceableComponent";
interface IProps {
toastKey: string;
@@ -41,6 +42,7 @@ interface IState {
ip?: string;
}
@replaceableComponent("views.toasts.VerificationRequestToast")
export default class VerificationRequestToast extends React.PureComponent<IProps, IState> {
private intervalHandle: NodeJS.Timeout;