emoji-picker-react 4.12.3 → 4.12.4

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.
@@ -19776,6 +19776,7 @@ function Suggested(_ref) {
19776
19776
  // eslint-disable-next-line react-hooks/exhaustive-deps
19777
19777
  [suggestedUpdated, suggestedEmojisModeConfig]);
19778
19778
  var emojiStyle = useEmojiStyleConfig();
19779
+ var isEmojiDisallowed = useIsEmojiDisallowed();
19779
19780
  if (!isMounted) {
19780
19781
  return null;
19781
19782
  }
@@ -19788,6 +19789,9 @@ function Suggested(_ref) {
19788
19789
  if (!emoji) {
19789
19790
  return null;
19790
19791
  }
19792
+ if (isEmojiDisallowed(emoji)) {
19793
+ return null;
19794
+ }
19791
19795
  return createElement(ClickableEmoji, {
19792
19796
  showVariations: false,
19793
19797
  unified: suggestedItem.unified,