Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4280 Rev 4281
Línea 13... Línea 13...
13
import { addNotification } from '../../../../redux/notification/notification.actions'
13
import { addNotification } from '../../../../redux/notification/notification.actions'
14
import { openShareModal } from '../../../../redux/share-modal/shareModal.actions'
14
import { openShareModal } from '../../../../redux/share-modal/shareModal.actions'
15
import { shareModalTypes } from '../../../../redux/share-modal/shareModal.types'
15
import { shareModalTypes } from '../../../../redux/share-modal/shareModal.types'
16
import { feedTypes } from '../../../../redux/feed/feed.types'
16
import { feedTypes } from '../../../../redux/feed/feed.types'
17
import FeedCommentSection from '../../../components/feed/feed-comment/FeedCommentSection'
17
import FeedCommentSection from '../../../components/feed/feed-comment/FeedCommentSection'
-
 
18
import { connect } from 'react-redux'
Línea 18... Línea 19...
18
 
19
 
19
const Feed = ({
20
const Feed = ({
20
  feed_unique,
21
  feed_unique,
21
  feed_is_liked,
22
  feed_is_liked,
Línea 84... Línea 85...
84
      <div className='feed__buttons'>
85
      <div className='feed__buttons'>
85
        <InputOption
86
        <InputOption
86
          Icon={feedIsLiked ? ThumbUpAltIcon : ThumbUpAltOutlinedIcon}
87
          Icon={feedIsLiked ? ThumbUpAltIcon : ThumbUpAltOutlinedIcon}
87
          title='Like'
88
          title='Like'
88
          color={feedIsLiked ? '#7405f9' : 'gray'}
89
          color={feedIsLiked ? '#7405f9' : 'gray'}
89
          onClick={() => handleLike(feedIsLiked ? feed_like_url : feed_unlike_url)}
90
          onClick={() => handleLike(feedIsLiked ? feed_unlike_url : feed_like_url)}
90
        />
91
        />
91
        <InputOption
92
        <InputOption
92
          Icon={ChatOutlinedIcon}
93
          Icon={ChatOutlinedIcon}
93
          title='Comment'
94
          title='Comment'
94
          color='gray'
95
          color='gray'
Línea 172... Línea 173...
172
}
173
}
Línea 173... Línea 174...
173
 
174
 
174
Feed.Content = Content
175
Feed.Content = Content
Línea -... Línea 176...
-
 
176
Feed.Header = Header
-
 
177
 
-
 
178
const mapDispatchToProps = {
-
 
179
  addNotification: (notification) => addNotification(notification),
175
Feed.Header = Header
180
};
176
 
181