Created
May 31, 2017 10:02
-
-
Save larryparitosh/54ea49565ec9ac1870c5a04381a02f48 to your computer and use it in GitHub Desktop.
React loop example
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
return this.props.items.map( (item) => { | |
return <li>{item}</li> | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment