mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
Allow arbitrary React nodes in RoomTooltip
This commit is contained in:
parent
9f5211061e
commit
8d5717b812
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module.exports = React.createClass({
|
|||
tooltipClassName: React.PropTypes.string,
|
||||
// The tooltip is derived from either the room name or a label
|
||||
room: React.PropTypes.object,
|
||||
label: React.PropTypes.string,
|
||||
label: React.PropTypes.node,
|
||||
},
|
||||
|
||||
// Create a wrapper for the tooltip outside the parent and attach it to the body element
|
||||
|
|
Loading…
Reference in a new issue