Last active
October 14, 2020 13:38
-
-
Save birksy89/93760c378c92966a0f4471818713bd36 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
[...Array(10)].map((_, i) => { | |
return <ListGroupProduct key={i} /> | |
}) | |
// OR - Create 10 items from object | |
const item = { | |
clientQuote: "", | |
clientName: "", | |
clientOrganization: "", | |
clientLogo: "", | |
mediaFile: "", | |
} | |
const data = [...Array(10)].map(_ => item) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment