Skip to content

Commit 3593a6f

Browse files
authored
Merge pull request #135 from element-hq/florianduros/rooms-hide-pinned-message-banner
1 parent c4cefab commit 3593a6f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

packages/element-web-module-api/element-web-module-api.api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,11 +355,9 @@ export interface RoomListStoreApi {
355355

356356
// @alpha
357357
export interface RoomViewProps {
358-
// (undocumented)
359358
hideComposer?: boolean;
360-
// (undocumented)
361359
hideHeader?: boolean;
362-
// (undocumented)
360+
hidePinnedMessageBanner?: boolean;
363361
hideRightPanel?: boolean;
364362
}
365363

packages/element-web-module-api/src/api/builtins.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,22 @@ Please see LICENSE files in the repository root for full details.
1010
* @alpha Subject to change.
1111
*/
1212
export interface RoomViewProps {
13-
/*
13+
/**
1414
* If true, the room header will be hidden.
1515
*/
1616
hideHeader?: boolean;
17-
/*
17+
/**
1818
* If true, the message composer will be hidden.
1919
*/
2020
hideComposer?: boolean;
21-
/*
21+
/**
2222
* If true, the right panel will be hidden.
2323
*/
2424
hideRightPanel?: boolean;
25+
/**
26+
* If true, the pinned message banner will be hidden.
27+
*/
28+
hidePinnedMessageBanner?: boolean;
2529
}
2630

2731
/**

0 commit comments

Comments
 (0)