* Returns the menu icon for a specicic room state key. * @param key - The key. * @return The icon name.
(key: keyof SerializedRoomState)
| 100 | * @return The icon name. |
| 101 | */ |
| 102 | private getStateMenuIcon(key: keyof SerializedRoomState) { |
| 103 | return _.get(this.props.roomState, key, false) ? 'tick' : 'blank' |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Returns the menu icon for a specicic slow mode duration. |