Last active
January 8, 2016 22:15
-
-
Save okonet/335cb6187b6f562fb796 to your computer and use it in GitHub Desktop.
What's more _readable_ in your opinion?
This file contains hidden or 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
<Card> | |
<h4 className="TaskListItem_title"> | |
<span className="TaskListItem_icon-type"> | |
<Icon name={iconMap[type]}/> | |
</span> | |
{title} <span className="TaskListItem_id">#{id}</span> | |
</h4> | |
<div className="TaskListItem_stats"> | |
<p className="TaskListItem_stat-item"><Icon name="code-fork"/> {commits}</p> | |
<p className="TaskListItem_stat-item"><Icon name="comment"/> {comments}</p> | |
<p className="TaskListItem_stat-item"><Icon name="warning"/> {issues}</p> | |
</div> | |
</Card> |
This file contains hidden or 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
Card | |
h4.TaskListItem_title | |
.TaskListItem_icon-type | |
Icon name=iconMap[type] | |
= title | |
.TaskListItem_id= id | |
.TaskListItem_stats | |
p.TaskListItem_stat-item | |
Icon name="code-fork" | |
= commits | |
p.TaskListItem_stat-item | |
Icon name="comment" | |
= comments | |
p.TaskListItem_stat-item | |
Icon name="warning" | |
= issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment