twister-react/js/.module-cache/cb6e688782114ffc4cc541f401c81b30bf85b6c4.js
2015-04-21 19:38:17 +02:00

14 lines
344 B
JavaScript

var Postboard = React.createClass({displayName: "Postboard",
render: function() {
var posts = this.props.data.map(function(post, index) {
return (
React.createElement(Post, {post: post, key: post.postid})
);
});
return (
React.createElement(ListGroup, {fill: true},
posts
)
);
}
});