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 {
|
} else {
|
||||||
return <div className='emoji-mart-preview'>
|
return <div className='emoji-mart-preview'>
|
||||||
<div className='emoji-mart-preview-emoji'>
|
<div className='emoji-mart-preview-emoji'>
|
||||||
<Emoji
|
{idleEmoji.length > 0 && <Emoji
|
||||||
emoji={idleEmoji}
|
emoji={idleEmoji}
|
||||||
{...emojiProps}
|
{...emojiProps}
|
||||||
/>
|
/>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='emoji-mart-preview-data'>
|
<div className='emoji-mart-preview-data'>
|
||||||
|
|
Loading…
Reference in New Issue