1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-30 01:06:00 -04:00

use standard twemoji module from NPM

This commit is contained in:
2021-07-01 09:16:53 -04:00
parent 8da27cba81
commit 1687ea4dfa
3 changed files with 9 additions and 558 deletions
+8
View File
@@ -0,0 +1,8 @@
import twemoji from "twemoji";
twemoji.parse(document.body, {
callback: function (icon, options) {
// simpler relative URIs
return "/assets/emoji/" + icon + ".svg";
},
});