Created
October 29, 2015 13:15
-
-
Save TimFletcher/41299e54373a37873a91 to your computer and use it in GitHub Desktop.
Returning an array in JSX
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.showLeadListColumns() ? ( | |
<th className="in-campaign">Campaigns</th> | |
) : ([ | |
<th className="score">Score</th>, | |
<th className="page-views">Page Views</th>, | |
<th className="last-active-at">Last Active</th> | |
])} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment