Created
October 29, 2019 13:05
-
-
Save udittyagi/2cc0b1f9f7798082f9e80459a1871c34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const images = data.map(item => ( | |
<Image | |
key={item.id} | |
src={item.thumbnailUrl} | |
fallbackSrc={fallbackImage} | |
isLazy | |
style={{ | |
display: 'block', | |
height: '150px', | |
width: '150px', | |
margin: 'auto', | |
marginBottom: '15px' | |
}} | |
alt='thumbnails' | |
/> | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment