Feature: set the SCM link

This commit is contained in:
fecaille
2016-04-06 13:56:58 +02:00
parent f9a267d307
commit 50d3c7846f
2 changed files with 19 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
<packaging>${packaging.type}</packaging> <packaging>${packaging.type}</packaging>
<scm> <scm>
<developerConnection>scm:git:TOFILL</developerConnection> <developerConnection>scm:git:https://github.com/Febbweiss/springboot-react-webpack</developerConnection>
</scm> </scm>
<parent> <parent>

View File

@@ -0,0 +1,18 @@
import React from 'react';
import Comment from './comment.jsx';
const CommentList = function (props) {
const commentNodes = props.data.map(function*(comment) {
return (
<Comment author={comment.author} key={comment.id}>{comment.text}</Comment>
);
});
return (
<div className="commentList">
{commentNodes}
</div>
);
};
CommentList.propTypes = {
data: React.PropTypes.node,
};