You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@frizurd This component only uses sprites with all emojis on one image, so you can't literally get the image, but you can probably get a file name that you need using EmojiIndex.
For example:
import data from '../data/all.json'
import { EmojiIndex } from '../src'
let index = new EmojiIndex(data)
let emojiData = index.emoji('+1')
console.log(emojiData)
This may also be a feature request...
But are there any easy hacks to get a chosen emoji as an individual PNG image?
All the individual images are available on Unpkg:
https://unpkg.com/browse/[email protected]/img/apple/64/
Thanks!
Love the plugin by the way!
The text was updated successfully, but these errors were encountered: