From 8d5717b812ffa3e0f566c31c270864e5c8fd9d24 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 8 Mar 2018 14:11:06 +0000 Subject: [PATCH] Allow arbitrary React nodes in RoomTooltip --- src/components/views/rooms/RoomTooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomTooltip.js b/src/components/views/rooms/RoomTooltip.js index 714d57ca..97db4916 100644 --- a/src/components/views/rooms/RoomTooltip.js +++ b/src/components/views/rooms/RoomTooltip.js @@ -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