mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
48 lines
814 B
JavaScript
48 lines
814 B
JavaScript
|
|
// @flow
|
||
|
|
|
||
|
|
export const REACTIONS = {
|
||
|
|
clap: {
|
||
|
|
message: ':clap:',
|
||
|
|
emoji: '👏',
|
||
|
|
shortcutChar: 'C'
|
||
|
|
},
|
||
|
|
like: {
|
||
|
|
message: ':thumbs_up:',
|
||
|
|
emoji: '👍',
|
||
|
|
shortcutChar: 'T'
|
||
|
|
},
|
||
|
|
smile: {
|
||
|
|
message: ':smile:',
|
||
|
|
emoji: '😀',
|
||
|
|
shortcutChar: 'S'
|
||
|
|
},
|
||
|
|
joy: {
|
||
|
|
message: ':joy:',
|
||
|
|
emoji: '😂',
|
||
|
|
shortcutChar: 'L'
|
||
|
|
},
|
||
|
|
surprised: {
|
||
|
|
message: ':face_with_open_mouth:',
|
||
|
|
emoji: '😮',
|
||
|
|
shortcutChar: 'O'
|
||
|
|
},
|
||
|
|
party: {
|
||
|
|
message: ':party_popper:',
|
||
|
|
emoji: '🎉',
|
||
|
|
shortcutChar: 'P'
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
export type ReactionEmojiProps = {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Reaction to be displayed.
|
||
|
|
*/
|
||
|
|
reaction: string,
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Id of the reaction.
|
||
|
|
*/
|
||
|
|
uid: number
|
||
|
|
}
|