mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 04:27:53 +00:00
10 lines
242 B
JavaScript
10 lines
242 B
JavaScript
import emojione from 'emojione';
|
|
/* eslint-disable */
|
|
export default function (value, method = 'shortnameToImage') {
|
|
return emojione[method](value);
|
|
}
|
|
|
|
export function getEmojiUnicode(value) {
|
|
return emojione.shortnameToUnicode(value);
|
|
}
|