emoji-picker-react 4.0.0-rc.6 → 4.0.0-rc.7

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.
@@ -7334,14 +7334,14 @@ function Preview() {
7334
7334
  emojiStyle: emojiStyle,
7335
7335
  hidden: false,
7336
7336
  size: 45
7337
- }) : React.createElement(Emoji, {
7337
+ }) : defaultEmoji ? React.createElement(Emoji, {
7338
7338
  unified: emojiUnified(defaultEmoji),
7339
7339
  emoji: defaultEmoji,
7340
7340
  showVariations: false,
7341
7341
  emojiStyle: emojiStyle,
7342
7342
  hidden: false,
7343
7343
  size: 45
7344
- })), show ? React.createElement("div", {
7344
+ }) : null), show ? React.createElement("div", {
7345
7345
  className: "epr-preview-emoji-label"
7346
7346
  }, emojiName(asEmoji(emoji))) : React.createElement("div", {
7347
7347
  className: "epr-preview-emoji-label"