{showPremiumUpsell && }
{virtualRows.map((row, index) => {
const emojiRowIndex = virtualRows.slice(0, index).filter((r) => r.type === 'emoji-row').length;
const needsSpacingAfter = row.type === 'emoji-row' && virtualRows[index + 1]?.type === 'header';
return (
{
if (el && 'category' in row) {
categoryRefs.current.set(row.category, el);
}
}
: undefined
}
style={row.type === 'emoji-row' && needsSpacingAfter ? {marginBottom: '12px'} : undefined}
>
);
})}
{renderedEmojis.length === 0 && (
{t`No emojis match your search`}
)}