[LINE] 通知の表示に対応

This commit is contained in:
syuilo
2017-11-11 00:27:02 +09:00
parent a702b27c3d
commit 3f0f307104
4 changed files with 104 additions and 1 deletions

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 '';
}
}