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

7 lines
194 B
JavaScript

var Mist = React.createClass({
renderList: function() {
return this.props.items.map(function(item) {
return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
});
}
});