1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-15 11:01:52 +03:00

Expose onHighlightClick on the event tiles

This commit is contained in:
Richard van der Hoff
2015-12-24 00:12:37 +00:00
parent 103b0a03b1
commit b0adb1945f
3 changed files with 32 additions and 3 deletions

View File

@ -47,6 +47,7 @@ module.exports = React.createClass({
TileType = tileTypes[msgtype];
}
return <TileType mxEvent={this.props.mxEvent} highlights={this.props.highlights} />;
return <TileType mxEvent={this.props.mxEvent} highlights={this.props.highlights}
onHighlightClick={this.props.onHighlightClick} />;
},
});