interweave-emoji
Provides emoji support for Interweave.
<Interweave
content="This will convert emoji unicode characters (🌀), shortcodes (:cyclone:), and emoticons to SVGs! :)"
matchers={[
new EmojiMatcher('emoji', {
convertEmoticon: true,
convertShortcode: true,
}),
]}
emojiPath={getSvgPathForEmoji}
/>
Requirements
Installation
yarn add interweave interweave-emoji emojibase
// Or
npm install interweave interweave-emoji emojibase