Created
October 16, 2018 18:03
-
-
Save daniele-zurico/7a901fb3df025a535ca5572c15268e2c 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 panels = this.state.panels.map(panel => ( | |
<ExpansionPanel key={panel.key}> | |
<ExpansionPanelTitle>{panel.title}</ExpansionPanelTitle> | |
<ExpansionPanelContent>{panel.body}</ExpansionPanelContent> | |
</ExpansionPanel> | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment