openGroup(0)}
+ src={RecentClockIC}
+ tooltip="Recent"
+ tooltipPlacement="left"
+ />
+ )}
+
+ {
+ availableEmojis.map((pack) => {
+ const src = initMatrix.matrixClient
+ .mxcUrlToHttp(pack.avatarUrl ?? pack.getEmojis()[0].mxc);
+ return (
+ openGroup(recentOffset + pack.packIndex)}
+ src={src}
+ key={pack.packIndex}
+ tooltip={pack.displayName ?? 'Unknown'}
+ tooltipPlacement="left"
+ isImage
+ />
+ );
+ })
+ }
+
+
+ {
+ [
+ [0, EmojiIC, 'Smilies'],
+ [1, DogIC, 'Animals'],
+ [2, CupIC, 'Food'],
+ [3, BallIC, 'Activities'],
+ [4, PhotoIC, 'Travel'],
+ [5, BulbIC, 'Objects'],
+ [6, PeaceIC, 'Symbols'],
+ [7, FlagIC, 'Flags'],
+ ].map(([indx, ico, name]) => (
+ openGroup(recentOffset + availableEmojis.length + indx)}
+ key={indx}
+ src={ico}
+ tooltip={name}
+ tooltipPlacement="left"
+ />
+ ))
+ }
+
+