Replaceable component

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-13 09:22:13 +02:00
parent ef1a1ebe12
commit 931bba747a
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -35,6 +35,7 @@ interface IProps {
onHeightChanged?(): void; onHeightChanged?(): void;
} }
@replaceableComponent("views.rooms.ReplyTile")
export default class ReplyTile extends React.PureComponent<IProps> { export default class ReplyTile extends React.PureComponent<IProps> {
static defaultProps = { static defaultProps = {
onHeightChanged: () => {}, onHeightChanged: () => {},