emoji-picker-react 4.4.7 → 4.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18325,7 +18325,8 @@ function RenderCategory(_ref) {
18325
18325
  activeSkinTone = _useActiveSkinToneSta[0];
18326
18326
 
18327
18327
  var isEmojiDisallowed = useIsEmojiDisallowed();
18328
- var getEmojiUrl = useGetEmojiUrlConfig(); // Small trick to defer the rendering of all emoji categories until the first category is visible
18328
+ var getEmojiUrl = useGetEmojiUrlConfig();
18329
+ var showVariations = !useSkinTonesDisabledConfig(); // Small trick to defer the rendering of all emoji categories until the first category is visible
18329
18330
  // This way the user gets to actually see something and not wait for the whole picker to render.
18330
18331
 
18331
18332
  var emojisToPush = !isPastInitialLoad && index > 1 ? [] : emojisByCategory(category);
@@ -18349,6 +18350,7 @@ function RenderCategory(_ref) {
18349
18350
  }
18350
18351
 
18351
18352
  return createElement(ClickableEmoji, {
18353
+ showVariations: showVariations,
18352
18354
  key: unified,
18353
18355
  emoji: emoji,
18354
18356
  unified: unified,