Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const dimmedID = this.state.dimmedID
- const collections = this.state.collections
- const collectionsList = collections.map((project) =>
- <Dimmer.Dimmable
- key = { project.id }
- as = {Image}
- dimmed = {dimmedID === project.id ? true : false}
- dimmer = {{ active, content }}
- onMouseEnter = {() => { this.handleShow(project.id) }}
- onMouseLeave = {() => { this.handleShow('') }}
- src = { project.thumbnail }
- />
- )
Add Comment
Please, Sign In to add comment