@evo/emoji-text
v0.1.1
Published
This package replaces emoji unicode with image tags
Downloads
3,337
Maintainers
Keywords
Readme
This package replaces all emoji unicode symbols with <Emoji>
element from @evo/emoji
.
- Available emoji - https://evo-frontend.git-doc.evo.dev/emoji/
- CHANGELOG - https://gitlab.evo.dev/evo-frontend/emoji/-/blob/master/packages/emoji-text/CHANGELOG.md
Install
npm i @evo/emoji-text
Usage
import { EmojiText } from `@evo/emoji-text`;
<EmojiText>Smile emoji - 😀</EmojiText>
Demo
<EmojiText>
This text contains emoji like this 😂 or this 😎 and will be replaced with img (apple type)
</EmojiText>
<p/>
<EmojiText type='google'>
This text contains emoji like this 😂 or this 😎 and will be replaced with img (google type)
</EmojiText>