Created
September 21, 2016 14:15
-
-
Save cwardzala/3cb80b2bae54cd08fd707d788b94afc2 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
{this.props.list.map(listValue => { | |
if (typeof listValue === 'object') { | |
return <li key={listVlaue.name}> | |
{listValue.name} | |
<BulletedList list={listValue.list} /> | |
</li>; | |
} | |
return <li key={ listValue }>{ listValue }</li>; | |
})} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment