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