Allow the fallback emoji to be optional, will display nothing.
parent
021f7b8db6
commit
95be21383d
|
@ -53,10 +53,10 @@ export default class Preview extends React.Component {
|
|||
} else {
|
||||
return <div className='emoji-mart-preview'>
|
||||
<div className='emoji-mart-preview-emoji'>
|
||||
<Emoji
|
||||
{idleEmoji.length > 0 && <Emoji
|
||||
emoji={idleEmoji}
|
||||
{...emojiProps}
|
||||
/>
|
||||
/>}
|
||||
</div>
|
||||
|
||||
<div className='emoji-mart-preview-data'>
|
||||
|
|
Loading…
Reference in New Issue