add header

This commit is contained in:
Michael Telatynski 2021-05-25 17:24:43 +01:00
parent c1f397dcf7
commit fd74a946e0
3 changed files with 10 additions and 151 deletions

View file

@ -137,7 +137,11 @@ const PinnedMessagesCard = ({ room, onClose }: IProps) => {
</div>;
}
return <BaseCard className="mx_NotificationPanel" onClose={onClose} withoutScrollContainer>
return <BaseCard
header={<h2>{ _t("Pinned") }</h2>}
className="mx_NotificationPanel"
onClose={onClose}
>
{ content }
</BaseCard>;
};