You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 814B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // @flow
  2. export const REACTIONS = {
  3. clap: {
  4. message: ':clap:',
  5. emoji: '👏',
  6. shortcutChar: 'C'
  7. },
  8. like: {
  9. message: ':thumbs_up:',
  10. emoji: '👍',
  11. shortcutChar: 'T'
  12. },
  13. smile: {
  14. message: ':smile:',
  15. emoji: '😀',
  16. shortcutChar: 'S'
  17. },
  18. joy: {
  19. message: ':joy:',
  20. emoji: '😂',
  21. shortcutChar: 'L'
  22. },
  23. surprised: {
  24. message: ':face_with_open_mouth:',
  25. emoji: '😮',
  26. shortcutChar: 'O'
  27. },
  28. party: {
  29. message: ':party_popper:',
  30. emoji: '🎉',
  31. shortcutChar: 'P'
  32. }
  33. };
  34. export type ReactionEmojiProps = {
  35. /**
  36. * Reaction to be displayed.
  37. */
  38. reaction: string,
  39. /**
  40. * Id of the reaction.
  41. */
  42. uid: number
  43. }