+ {items => (
+
+ {items.map(({ key, data, style }) => (
+
+ ))}
+
+ {visibleReactions.size < 8 && }
+
+ )}
+
+ );
+};
+
+const Announcement = ({ announcement, addReaction, removeReaction, emojiMap }: { announcement: AnnouncementEntity }) => {
const startsAt = announcement.starts_at && new Date(announcement.starts_at);
const endsAt = announcement.ends_at && new Date(announcement.ends_at);
const now = new Date();
@@ -102,20 +222,24 @@ const Announcement = ({ announcement }: { announcement: AnnouncementEntity }) =>
{/*