How to use react-easy-emoji - 3 common examples

To help you get started, we’ve selected a few react-easy-emoji examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ayellapragada / Fafbook / frontend / components / navbar / conversation_item.jsx View on Github external
<div>
                <div>

                  <div>
                    {`${this.otherUser.fname} ${this.otherUser.lname}`}
                  </div>

                  <div>
                    
                  </div>

                </div>

                <div>
                  {emoji(this.props.conversation.message.body)}
                </div>
              </div>
            

          
        
      

    );
  }
}
github ayellapragada / Fafbook / frontend / components / chat / message_item.jsx View on Github external
return (
        <div> 
          <div>
            <img src="{this.props.otherUser.profile_url}/">
          </div>
          <div>
            {emoji(this.props.message.body)}
          </div> 
        </div>
      );
    } 

    return (
      <div>
        <div>
          {emoji(this.props.message.body)}
        </div> 
      </div>
    );
  }
}
github juliettepretot / personal-website / src / helpers / emoji.js View on Github external
export default input =>
  emoji(input, {
    baseUrl: '/emoji',
    ext: '.svg',
    size: '',
    protocol: '',
    props: { className: 'emoji' }
  })

react-easy-emoji

A super minimal emoji rendering library for React

MIT
Latest version published 2 years ago

Package Health Score

51 / 100
Full package analysis

Popular react-easy-emoji functions