mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-21 10:44:12 +03:00
5d9f5ccf0b
* Create useRoomName hook Mark RoomName component as deprecated * Pass out-of-band data to relevant RoomHeader component * Mark LegacyRoomHeader as deprecated * Fix incorrect search&replace in _RoomHeader.pcss * lintfix * Fix i18n * Discard use of useCallback * Change export of useRoomName * fix ts issue * lints
23 lines
437 B
Text
23 lines
437 B
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Roomeader renders with no props 1`] = `
|
|
<DocumentFragment>
|
|
<header
|
|
class="mx_RoomHeader light-panel"
|
|
>
|
|
<div
|
|
class="mx_RoomHeader_wrapper"
|
|
>
|
|
<div
|
|
aria-level="1"
|
|
class="mx_RoomHeader_name"
|
|
dir="auto"
|
|
role="heading"
|
|
title="Join Room"
|
|
>
|
|
Join Room
|
|
</div>
|
|
</div>
|
|
</header>
|
|
</DocumentFragment>
|
|
`;
|