missive / emoji-mart

🏪 One component to pick them all
https://missiveapp.com/open/emoji-mart
MIT License
8.67k stars 835 forks source link

Hosting the spritesheet locally #585

Closed merfed closed 2 years ago

merfed commented 2 years ago

Since it seems that the cdn spritesheet is set when setting the backgroundImage property, it doesn't seem there's a way to host the spritesheet locally.

https://github.com/missive/emoji-mart/blob/5d04680c0503410752256ed1f744166ac48ee219/packages/emoji-mart/src/components/Emoji/Emoji.js#L59

Is there a way to do this, if not can it be added?

EtienneLem commented 2 years ago

Indeed, that’s an oversight. Will be supported in the next release.