1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-14 22:59:35 +09:00
cherrypick/src/common/get-reaction-emoji.ts

15 lines
388 B
TypeScript
Raw Normal View History

2017-11-11 00:27:02 +09:00
export default function(reaction: string): string {
switch (reaction) {
case 'like': return '👍';
case 'love': return '❤️';
case 'laugh': return '😆';
case 'hmm': return '🤔';
case 'surprise': return '😮';
case 'congrats': return '🎉';
case 'angry': return '💢';
case 'confused': return '😥';
case 'pudding': return '🍮';
default: return '';
}
}