mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 16:33:08 +02:00
15 lines
417 B
TypeScript
15 lines
417 B
TypeScript
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 'rip': return '😇';
|
|
case 'pudding': return '🍮';
|
|
default: return '';
|
|
}
|
|
}
|