{"action":"created","comment":{"url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments/197976005","pull_request_review_id":131823454,"id":197976005,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Nzk3NjAwNQ==","diff_hunk":"@@ -15,6 +15,11 @@ describe('Pill:', () => {\n     expect(pill).toMatchSnapshot();\n   });\n \n+  it('should render a child component', () => {\n+    const ChildComponent = () => (<div>Hello</div>);\n+    expect(render(<Pill text={<ChildComponent />} />)).toMatchSnapshot();","path":"react/Pill/Pill.test.js","position":13,"original_position":13,"commit_id":"4828664acb7d9bf5e1bfb7b2b4268787ba92e3cf","original_commit_id":"4828664acb7d9bf5e1bfb7b2b4268787ba92e3cf","user":{"login":"georgespyropoulos","id":1896277,"node_id":"MDQ6VXNlcjE4OTYyNzc=","avatar_url":"https://avatars2.githubusercontent.com/u/1896277?v=4","gravatar_id":"","url":"https://api.github.com/users/georgespyropoulos","html_url":"https://github.com/georgespyropoulos","followers_url":"https://api.github.com/users/georgespyropoulos/followers","following_url":"https://api.github.com/users/georgespyropoulos/following{/other_user}","gists_url":"https://api.github.com/users/georgespyropoulos/gists{/gist_id}","starred_url":"https://api.github.com/users/georgespyropoulos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgespyropoulos/subscriptions","organizations_url":"https://api.github.com/users/georgespyropoulos/orgs","repos_url":"https://api.github.com/users/georgespyropoulos/repos","events_url":"https://api.github.com/users/georgespyropoulos/events{/privacy}","received_events_url":"https://api.github.com/users/georgespyropoulos/received_events","type":"User","site_admin":false},"body":"Can you use the exisiting `renderPill` function to keep this test consistent with the others in this file?","created_at":"2018-06-25T23:47:44Z","updated_at":"2018-06-25T23:47:44Z","html_url":"https://github.com/seek-oss/seek-style-guide/pull/509#discussion_r197976005","pull_request_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments/197976005"},"html":{"href":"https://github.com/seek-oss/seek-style-guide/pull/509#discussion_r197976005"},"pull_request":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509"}},"in_reply_to_id":197975398},"pull_request":{"url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509","id":197005612,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MDA1NjEy","html_url":"https://github.com/seek-oss/seek-style-guide/pull/509","diff_url":"https://github.com/seek-oss/seek-style-guide/pull/509.diff","patch_url":"https://github.com/seek-oss/seek-style-guide/pull/509.patch","issue_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/509","number":509,"state":"open","locked":false,"title":"fix(Pill): Support child components inside of pills","user":{"login":"apoorvmalhotra","id":2062840,"node_id":"MDQ6VXNlcjIwNjI4NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2062840?v=4","gravatar_id":"","url":"https://api.github.com/users/apoorvmalhotra","html_url":"https://github.com/apoorvmalhotra","followers_url":"https://api.github.com/users/apoorvmalhotra/followers","following_url":"https://api.github.com/users/apoorvmalhotra/following{/other_user}","gists_url":"https://api.github.com/users/apoorvmalhotra/gists{/gist_id}","starred_url":"https://api.github.com/users/apoorvmalhotra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apoorvmalhotra/subscriptions","organizations_url":"https://api.github.com/users/apoorvmalhotra/orgs","repos_url":"https://api.github.com/users/apoorvmalhotra/repos","events_url":"https://api.github.com/users/apoorvmalhotra/events{/privacy}","received_events_url":"https://api.github.com/users/apoorvmalhotra/received_events","type":"User","site_admin":false},"body":"A pill should be able to render child components, not just text.\r\n\r\n","created_at":"2018-06-25T05:33:11Z","updated_at":"2018-06-25T23:47:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35fbf7663831ad531ba678e8a18490fd60bc9737","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509/commits","review_comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509/comments","review_comment_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/509/comments","statuses_url":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/4828664acb7d9bf5e1bfb7b2b4268787ba92e3cf","head":{"label":"seek-oss:pill","ref":"pill","sha":"4828664acb7d9bf5e1bfb7b2b4268787ba92e3cf","user":{"login":"seek-oss","id":22927121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTI3MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/22927121?v=4","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"repo":{"id":56475150,"node_id":"MDEwOlJlcG9zaXRvcnk1NjQ3NTE1MA==","name":"seek-style-guide","full_name":"seek-oss/seek-style-guide","owner":{"login":"seek-oss","id":22927121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTI3MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/22927121?v=4","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seek-oss/seek-style-guide","description":"Living style guide for SEEK, powered by React, webpack, CSS Modules and Less.","fork":false,"url":"https://api.github.com/repos/seek-oss/seek-style-guide","forks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/forks","keys_url":"https://api.github.com/repos/seek-oss/seek-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seek-oss/seek-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seek-oss/seek-style-guide/teams","hooks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/hooks","issue_events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/events","assignees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/seek-oss/seek-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/tags","blobs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/seek-oss/seek-style-guide/languages","stargazers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/stargazers","contributors_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contributors","subscribers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscribers","subscription_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscription","commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/seek-oss/seek-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seek-oss/seek-style-guide/merges","archive_url":"https://api.github.com/repos/seek-oss/seek-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seek-oss/seek-style-guide/downloads","issues_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/seek-oss/seek-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/seek-oss/seek-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seek-oss/seek-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/seek-oss/seek-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/deployments","created_at":"2016-04-18T03:47:28Z","updated_at":"2018-06-22T01:21:48Z","pushed_at":"2018-06-25T23:35:53Z","git_url":"git://github.com/seek-oss/seek-style-guide.git","ssh_url":"git@github.com:seek-oss/seek-style-guide.git","clone_url":"https://github.com/seek-oss/seek-style-guide.git","svn_url":"https://github.com/seek-oss/seek-style-guide","homepage":"http://seek-oss.github.io/seek-style-guide","size":10061,"stargazers_count":204,"watchers_count":204,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":31,"open_issues":4,"watchers":204,"default_branch":"master"}},"base":{"label":"seek-oss:master","ref":"master","sha":"72907a485bbdd15e7932e2b9df2a8259b4dc71cd","user":{"login":"seek-oss","id":22927121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTI3MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/22927121?v=4","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"repo":{"id":56475150,"node_id":"MDEwOlJlcG9zaXRvcnk1NjQ3NTE1MA==","name":"seek-style-guide","full_name":"seek-oss/seek-style-guide","owner":{"login":"seek-oss","id":22927121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTI3MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/22927121?v=4","gravatar_id":"","url":"https://api.github.com/users/seek-oss","html_url":"https://github.com/seek-oss","followers_url":"https://api.github.com/users/seek-oss/followers","following_url":"https://api.github.com/users/seek-oss/following{/other_user}","gists_url":"https://api.github.com/users/seek-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/seek-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seek-oss/subscriptions","organizations_url":"https://api.github.com/users/seek-oss/orgs","repos_url":"https://api.github.com/users/seek-oss/repos","events_url":"https://api.github.com/users/seek-oss/events{/privacy}","received_events_url":"https://api.github.com/users/seek-oss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seek-oss/seek-style-guide","description":"Living style guide for SEEK, powered by React, webpack, CSS Modules and Less.","fork":false,"url":"https://api.github.com/repos/seek-oss/seek-style-guide","forks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/forks","keys_url":"https://api.github.com/repos/seek-oss/seek-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seek-oss/seek-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seek-oss/seek-style-guide/teams","hooks_url":"https://api.github.com/repos/seek-oss/seek-style-guide/hooks","issue_events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/seek-oss/seek-style-guide/events","assignees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/seek-oss/seek-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/tags","blobs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/seek-oss/seek-style-guide/languages","stargazers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/stargazers","contributors_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contributors","subscribers_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscribers","subscription_url":"https://api.github.com/repos/seek-oss/seek-style-guide/subscription","commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/seek-oss/seek-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/seek-oss/seek-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/seek-oss/seek-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seek-oss/seek-style-guide/merges","archive_url":"https://api.github.com/repos/seek-oss/seek-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seek-oss/seek-style-guide/downloads","issues_url":"https://api.github.com/repos/seek-oss/seek-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/seek-oss/seek-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/seek-oss/seek-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seek-oss/seek-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/seek-oss/seek-style-guide/releases{/id}","deployments_url":"https://api.github.com/repos/seek-oss/seek-style-guide/deployments","created_at":"2016-04-18T03:47:28Z","updated_at":"2018-06-22T01:21:48Z","pushed_at":"2018-06-25T23:35:53Z","git_url":"git://github.com/seek-oss/seek-style-guide.git","ssh_url":"git@github.com:seek-oss/seek-style-guide.git","clone_url":"https://github.com/seek-oss/seek-style-guide.git","svn_url":"https://github.com/seek-oss/seek-style-guide","homepage":"http://seek-oss.github.io/seek-style-guide","size":10061,"stargazers_count":204,"watchers_count":204,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":31,"open_issues":4,"watchers":204,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509"},"html":{"href":"https://github.com/seek-oss/seek-style-guide/pull/509"},"issue":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/509"},"comments":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/issues/509/comments"},"review_comments":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509/comments"},"review_comment":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/pulls/509/commits"},"statuses":{"href":"https://api.github.com/repos/seek-oss/seek-style-guide/statuses/4828664acb7d9bf5e1bfb7b2b4268787ba92e3cf"}},"author_association":"NONE"}}
{"actor":{"display_login":"georgespyropoulos"}}