UNPKG

emoji-picker-react

Version:

Emoji Picker component for React Applications on the web

7 lines (6 loc) 167 B
export function parseNativeEmoji(unified: string): string { return unified .split('-') .map(hex => String.fromCodePoint(parseInt(hex, 16))) .join(''); }