2021-07-13 06:50:08 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
export const REACTIONS = {
|
|
|
|
like: {
|
|
|
|
message: ':thumbs_up:',
|
|
|
|
emoji: '👍',
|
|
|
|
shortcutChar: 'T'
|
|
|
|
},
|
2021-07-15 07:26:27 +00:00
|
|
|
clap: {
|
|
|
|
message: ':clap:',
|
|
|
|
emoji: '👏',
|
|
|
|
shortcutChar: 'C'
|
2021-07-13 06:50:08 +00:00
|
|
|
},
|
2021-07-20 11:31:49 +00:00
|
|
|
laugh: {
|
2021-07-15 07:26:27 +00:00
|
|
|
message: ':grinning_face:',
|
|
|
|
emoji: '😀',
|
2021-07-13 06:50:08 +00:00
|
|
|
shortcutChar: 'L'
|
|
|
|
},
|
|
|
|
surprised: {
|
|
|
|
message: ':face_with_open_mouth:',
|
|
|
|
emoji: '😮',
|
|
|
|
shortcutChar: 'O'
|
|
|
|
},
|
2021-07-15 07:26:27 +00:00
|
|
|
boo: {
|
|
|
|
message: ':slightly_frowning_face:',
|
|
|
|
emoji: '🙁',
|
|
|
|
shortcutChar: 'B'
|
|
|
|
},
|
2021-07-13 06:50:08 +00:00
|
|
|
party: {
|
|
|
|
message: ':party_popper:',
|
|
|
|
emoji: '🎉',
|
|
|
|
shortcutChar: 'P'
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export type ReactionEmojiProps = {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reaction to be displayed.
|
|
|
|
*/
|
|
|
|
reaction: string,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Id of the reaction.
|
|
|
|
*/
|
|
|
|
uid: number
|
|
|
|
}
|