Batch of views getting replaceableComponent decorators
This commit is contained in:
parent
fc5b1ed9d6
commit
c5935dbc61
46 changed files with 92 additions and 3 deletions
|
@ -23,6 +23,7 @@ import AccessibleButton from '../elements/AccessibleButton';
|
|||
import { _t } from '../../../languageHandler';
|
||||
import classNames from "classnames";
|
||||
import E2EIcon from './E2EIcon';
|
||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
||||
|
||||
const PRESENCE_CLASS = {
|
||||
"offline": "mx_EntityTile_offline",
|
||||
|
@ -50,6 +51,7 @@ function presenceClassForMember(presenceState, lastActiveAgo, showPresence) {
|
|||
}
|
||||
}
|
||||
|
||||
@replaceableComponent("views.rooms.EntityTile")
|
||||
class EntityTile extends React.Component {
|
||||
static propTypes = {
|
||||
name: PropTypes.string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue