Guest User

Untitled

a guest
Feb 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. const dimmedID = this.state.dimmedID
  2. const collections = this.state.collections
  3. const collectionsList = collections.map((project) =>
  4. <Dimmer.Dimmable
  5. key = { project.id }
  6. as = {Image}
  7. dimmed = {dimmedID === project.id ? true : false}
  8. dimmer = {{ active, content }}
  9. onMouseEnter = {() => { this.handleShow(project.id) }}
  10. onMouseLeave = {() => { this.handleShow('') }}
  11. src = { project.thumbnail }
  12. />
  13. )
Add Comment
Please, Sign In to add comment