2017-11-10 09:27:02 -06: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 '😥';
|
2018-08-11 07:08:34 -05:00
|
|
|
case 'rip': return '😇';
|
2017-11-10 09:27:02 -06:00
|
|
|
case 'pudding': return '🍮';
|
|
|
|
default: return '';
|
|
|
|
}
|
|
|
|
}
|