parent
1f2b525f58
commit
dc641c48bc
|
@ -1,10 +1,7 @@
|
|||
var Mist = React.createClass({
|
||||
renderList: function() {
|
||||
return this
|
||||
.props
|
||||
.items
|
||||
.map(function(item) {
|
||||
return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
|
||||
});
|
||||
return this.props.items.map(function(item) {
|
||||
return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
|
||||
});
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue