See #144. Add JSX language tests
This commit is contained in:
parent
559c2ecbd7
commit
d0ee5fb538
|
@ -0,0 +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}/>;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
|
@ -0,0 +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} />;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue