Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6627 | Rev 6629 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6627 Rev 6628
Línea 45... Línea 45...
45
]
45
]
Línea 46... Línea 46...
46
 
46
 
47
const defaultReaction = {
47
const defaultReaction = {
48
  label: 'Reaccionar',
48
  label: 'Reaccionar',
49
  icon: RecommendIcon,
49
  icon: RecommendIcon,
50
  color: '#626d7a',
50
  color: '#626d7a !important',
51
  type: 'default',
51
  type: 'default',
Línea 52... Línea 52...
52
}
52
}
53
 
53
 
Línea 121... Línea 121...
121
          settedReaction.type !== 'default'
121
          settedReaction.type !== 'default'
122
            ? deleteReaction()
122
            ? deleteReaction()
123
            : saveReaction(reactionsOptions[0].type)
123
            : saveReaction(reactionsOptions[0].type)
124
        }
124
        }
125
      >
125
      >
126
        <Icon />
126
        <Icon color={settedReaction.color} />
127
        {withLabel && settedReaction.label}
127
        {withLabel && settedReaction.label}
128
        <div className={`reactions ${showReactions ? 'active' : ''}`}>
128
        <div className={`reactions ${showReactions ? 'active' : ''}`}>
129
          {reactionsOptions.map((reaction) => {
129
          {reactionsOptions.map((reaction) => {
130
            const { icon: Icon, color, type, label } = reaction
130
            const { icon: Icon, color, type, label } = reaction