scinote-web/app/javascript/packs/emoji_button.js

8 lines
210 B
JavaScript
Raw Permalink Normal View History

2020-01-21 18:43:04 +08:00
global.twemoji = require('twemoji').default;
global.twemoji.base = '/images/twemoji/';
global.twemoji.size = '24x24';
2022-01-11 18:25:16 +08:00
import { EmojiButton } from '@joeattardi/emoji-button';
global.EmojiButton = EmojiButton;