Adapt the rendering of extra icons in the room header (#11835)
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
This commit is contained in:
parent
03b01b4a50
commit
47a4e4a52a
6 changed files with 11 additions and 11 deletions
|
@ -522,7 +522,7 @@ describe("RoomHeader", () => {
|
|||
it("renders additionalButtons", async () => {
|
||||
const additionalButtons: ViewRoomOpts["buttons"] = [
|
||||
{
|
||||
icon: <>test-icon</>,
|
||||
icon: () => <>test-icon</>,
|
||||
id: "test-id",
|
||||
label: () => "test-label",
|
||||
onClick: () => {},
|
||||
|
@ -539,7 +539,7 @@ describe("RoomHeader", () => {
|
|||
const callback = jest.fn();
|
||||
const additionalButtons: ViewRoomOpts["buttons"] = [
|
||||
{
|
||||
icon: <>test-icon</>,
|
||||
icon: () => <>test-icon</>,
|
||||
id: "test-id",
|
||||
label: () => "test-label",
|
||||
onClick: callback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue