emoji-react
v0.0.1
Published
Dead simple emoji react component
Downloads
21
Readme
emoji-react 😀
Dead simple react component for rendering emojis.
Tired of copying literal emoji characters into your code? Characters don't look right in your editor? This component makes it a little easier.
Installation
NPM: npm install emoji-react
Usage
import Emoji from 'emoji-react';
// ...
ReactDOM.render(<Emoji name="smiling face with smiling eyes" />, rootNode)
The names of emojis are taken from the unicode spec, here.
That's it! Have fun, and be 😊.
This is stupid, can't I just use unicode characters in my code?
Yep! ✌