Handle JSX in MELS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-11 10:34:15 +02:00
parent 7a329b7a01
commit 3e95cd1854
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
3 changed files with 16 additions and 7 deletions

View file

@ -33,7 +33,7 @@ interface IProps {
// The list of room members for which to show avatars next to the summary
summaryMembers?: RoomMember[];
// The text to show as the summary of this event list
summaryText?: string;
summaryText?: string | JSX.Element;
// An array of EventTiles to render when expanded
children: ReactNode[];
// Called when the event list expansion is toggled