{"action":"created","comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments/40266308","id":40266308,"diff_hunk":"@@ -9,6 +9,11 @@ class ListGroup extends React.Component {\n       (item, index) => cloneElement(item, { key: item.key ? item.key : index })\n     );\n \n+    if (this.areCustomChildren(items)) {\n+      let componentClass = this.props.componentClass;\n+      return componentClass === 'ul' ? this.renderUL(items) : this.renderDiv(items);","path":"src/ListGroup.js","position":6,"original_position":6,"commit_id":"f93a008c3b3de4aadd9393257d07ff097f3a71ab","original_commit_id":"f93a008c3b3de4aadd9393257d07ff097f3a71ab","user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"body":"I mean, the specified `componentClass` prop.","created_at":"2015-09-23T22:29:28Z","updated_at":"2015-09-23T22:29:28Z","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1348#discussion_r40266308","pull_request_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348","_links":{"self":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments/40266308"},"html":{"href":"https://github.com/react-bootstrap/react-bootstrap/pull/1348#discussion_r40266308"},"pull_request":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348"}}},"pull_request":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348","id":45736364,"html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1348","diff_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1348.diff","patch_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1348.patch","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1348","number":1348,"state":"open","locked":false,"title":"[added] #1181 ListGroup supports componentClass prop","user":{"login":"apkiernan","id":5533535,"avatar_url":"https://avatars.githubusercontent.com/u/5533535?v=3","gravatar_id":"","url":"https://api.github.com/users/apkiernan","html_url":"https://github.com/apkiernan","followers_url":"https://api.github.com/users/apkiernan/followers","following_url":"https://api.github.com/users/apkiernan/following{/other_user}","gists_url":"https://api.github.com/users/apkiernan/gists{/gist_id}","starred_url":"https://api.github.com/users/apkiernan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apkiernan/subscriptions","organizations_url":"https://api.github.com/users/apkiernan/orgs","repos_url":"https://api.github.com/users/apkiernan/repos","events_url":"https://api.github.com/users/apkiernan/events{/privacy}","received_events_url":"https://api.github.com/users/apkiernan/received_events","type":"User","site_admin":false},"body":"As discussed, this keeps the handling for the case where all children are `<ListGroupItem>`, but now users can specify the element `<ListGroup>` should output via the componentClass prop, which defaults to a div.","created_at":"2015-09-23T01:30:19Z","updated_at":"2015-09-23T22:29:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67678058b4f4c58b016860ff39115a260b54160f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348/commits","review_comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348/comments","review_comment_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1348/comments","statuses_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/f93a008c3b3de4aadd9393257d07ff097f3a71ab","head":{"label":"apkiernan:listGroup","ref":"listGroup","sha":"f93a008c3b3de4aadd9393257d07ff097f3a71ab","user":{"login":"apkiernan","id":5533535,"avatar_url":"https://avatars.githubusercontent.com/u/5533535?v=3","gravatar_id":"","url":"https://api.github.com/users/apkiernan","html_url":"https://github.com/apkiernan","followers_url":"https://api.github.com/users/apkiernan/followers","following_url":"https://api.github.com/users/apkiernan/following{/other_user}","gists_url":"https://api.github.com/users/apkiernan/gists{/gist_id}","starred_url":"https://api.github.com/users/apkiernan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apkiernan/subscriptions","organizations_url":"https://api.github.com/users/apkiernan/orgs","repos_url":"https://api.github.com/users/apkiernan/repos","events_url":"https://api.github.com/users/apkiernan/events{/privacy}","received_events_url":"https://api.github.com/users/apkiernan/received_events","type":"User","site_admin":false},"repo":{"id":33036675,"name":"react-bootstrap","full_name":"apkiernan/react-bootstrap","owner":{"login":"apkiernan","id":5533535,"avatar_url":"https://avatars.githubusercontent.com/u/5533535?v=3","gravatar_id":"","url":"https://api.github.com/users/apkiernan","html_url":"https://github.com/apkiernan","followers_url":"https://api.github.com/users/apkiernan/followers","following_url":"https://api.github.com/users/apkiernan/following{/other_user}","gists_url":"https://api.github.com/users/apkiernan/gists{/gist_id}","starred_url":"https://api.github.com/users/apkiernan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apkiernan/subscriptions","organizations_url":"https://api.github.com/users/apkiernan/orgs","repos_url":"https://api.github.com/users/apkiernan/repos","events_url":"https://api.github.com/users/apkiernan/events{/privacy}","received_events_url":"https://api.github.com/users/apkiernan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apkiernan/react-bootstrap","description":"Bootstrap 3 components built with React","fork":true,"url":"https://api.github.com/repos/apkiernan/react-bootstrap","forks_url":"https://api.github.com/repos/apkiernan/react-bootstrap/forks","keys_url":"https://api.github.com/repos/apkiernan/react-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apkiernan/react-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apkiernan/react-bootstrap/teams","hooks_url":"https://api.github.com/repos/apkiernan/react-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/apkiernan/react-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/apkiernan/react-bootstrap/events","assignees_url":"https://api.github.com/repos/apkiernan/react-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/apkiernan/react-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/apkiernan/react-bootstrap/tags","blobs_url":"https://api.github.com/repos/apkiernan/react-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apkiernan/react-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apkiernan/react-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/apkiernan/react-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apkiernan/react-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/apkiernan/react-bootstrap/languages","stargazers_url":"https://api.github.com/repos/apkiernan/react-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/apkiernan/react-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/apkiernan/react-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/apkiernan/react-bootstrap/subscription","commits_url":"https://api.github.com/repos/apkiernan/react-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/apkiernan/react-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/apkiernan/react-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/apkiernan/react-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/apkiernan/react-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/apkiernan/react-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apkiernan/react-bootstrap/merges","archive_url":"https://api.github.com/repos/apkiernan/react-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apkiernan/react-bootstrap/downloads","issues_url":"https://api.github.com/repos/apkiernan/react-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/apkiernan/react-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/apkiernan/react-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/apkiernan/react-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apkiernan/react-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/apkiernan/react-bootstrap/releases{/id}","created_at":"2015-03-28T14:41:11Z","updated_at":"2015-05-02T14:32:49Z","pushed_at":"2015-09-23T01:17:34Z","git_url":"git://github.com/apkiernan/react-bootstrap.git","ssh_url":"git@github.com:apkiernan/react-bootstrap.git","clone_url":"https://github.com/apkiernan/react-bootstrap.git","svn_url":"https://github.com/apkiernan/react-bootstrap","homepage":"http://react-bootstrap.github.io/","size":3709,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"react-bootstrap:master","ref":"master","sha":"3edf4a1517516d925e3624f8a3c7fb3cdf731ebe","user":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"repo":{"id":15480067,"name":"react-bootstrap","full_name":"react-bootstrap/react-bootstrap","owner":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/react-bootstrap/react-bootstrap","description":"Bootstrap 3 components built with React","fork":false,"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap","forks_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/forks","keys_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/teams","hooks_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/events","assignees_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/tags","blobs_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/languages","stargazers_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/subscription","commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/merges","archive_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/downloads","issues_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/releases{/id}","created_at":"2013-12-27T19:06:07Z","updated_at":"2015-09-23T21:10:08Z","pushed_at":"2015-09-23T15:18:08Z","git_url":"git://github.com/react-bootstrap/react-bootstrap.git","ssh_url":"git@github.com:react-bootstrap/react-bootstrap.git","clone_url":"https://github.com/react-bootstrap/react-bootstrap.git","svn_url":"https://github.com/react-bootstrap/react-bootstrap","homepage":"http://react-bootstrap.github.io/","size":10252,"stargazers_count":3409,"watchers_count":3409,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":575,"mirror_url":null,"open_issues_count":66,"forks":575,"open_issues":66,"watchers":3409,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348"},"html":{"href":"https://github.com/react-bootstrap/react-bootstrap/pull/1348"},"issue":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1348"},"comments":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1348/comments"},"review_comments":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348/comments"},"review_comment":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1348/commits"},"statuses":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/f93a008c3b3de4aadd9393257d07ff097f3a71ab"}}}}