atom-beautify/examples/simple-jsbeautifyrc/jsx/original/test.jsx

7 lines
215 B
React
Raw Normal View History

2015-05-20 10:40:59 -06:00
var Mist = React.createClass({
renderList: function () {
return this.props.items.map(function (item) {
return <ListItem item={return <tag>{item}</tag>} key={item.id} />;
});
}
});