1
0

Introduce renderers directory

This commit is contained in:
Akihiko Odaki
2018-04-02 13:41:25 +09:00
parent ad38cd2605
commit 4ef3d3a6d2
14 changed files with 14 additions and 14 deletions
+14
View File
@@ -0,0 +1,14 @@
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 '';
}
}