{"action":"created","comment":{"url":"https://api.github.com/repos/pagarme/former-kit/pulls/comments/208007571","pull_request_review_id":143733856,"id":208007571,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODAwNzU3MQ==","diff_hunk":"@@ -0,0 +1,121 @@\n+import React from 'react'\n+import {\n+  arrayOf,\n+  bool,\n+  func,\n+  node,\n+  shape,\n+  string,\n+} from 'prop-types'\n+import classnames from 'classnames'\n+import shortid from 'shortid'\n+\n+class SegmentedSwitch extends React.PureComponent {","path":"src/SegmentedSwitch/SegmentedSwitch.js","position":13,"original_position":13,"commit_id":"420ccd698a8e22b124ba0ff1db3975dd982fe7cf","original_commit_id":"420ccd698a8e22b124ba0ff1db3975dd982fe7cf","user":{"login":"uselessdev","id":6943919,"node_id":"MDQ6VXNlcjY5NDM5MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6943919?v=4","gravatar_id":"","url":"https://api.github.com/users/uselessdev","html_url":"https://github.com/uselessdev","followers_url":"https://api.github.com/users/uselessdev/followers","following_url":"https://api.github.com/users/uselessdev/following{/other_user}","gists_url":"https://api.github.com/users/uselessdev/gists{/gist_id}","starred_url":"https://api.github.com/users/uselessdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uselessdev/subscriptions","organizations_url":"https://api.github.com/users/uselessdev/orgs","repos_url":"https://api.github.com/users/uselessdev/repos","events_url":"https://api.github.com/users/uselessdev/events{/privacy}","received_events_url":"https://api.github.com/users/uselessdev/received_events","type":"User","site_admin":false},"body":"Esse componente poderia ser definido como uma função","created_at":"2018-08-06T19:44:41Z","updated_at":"2018-08-06T19:45:10Z","html_url":"https://github.com/pagarme/former-kit/pull/182#discussion_r208007571","pull_request_url":"https://api.github.com/repos/pagarme/former-kit/pulls/182","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pagarme/former-kit/pulls/comments/208007571"},"html":{"href":"https://github.com/pagarme/former-kit/pull/182#discussion_r208007571"},"pull_request":{"href":"https://api.github.com/repos/pagarme/former-kit/pulls/182"}}},"pull_request":{"url":"https://api.github.com/repos/pagarme/former-kit/pulls/182","id":206495393,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NDk1Mzkz","html_url":"https://github.com/pagarme/former-kit/pull/182","diff_url":"https://github.com/pagarme/former-kit/pull/182.diff","patch_url":"https://github.com/pagarme/former-kit/pull/182.patch","issue_url":"https://api.github.com/repos/pagarme/former-kit/issues/182","number":182,"state":"open","locked":false,"title":"spaced-segmented-switch: add component","user":{"login":"macabeus","id":9501115,"node_id":"MDQ6VXNlcjk1MDExMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/9501115?v=4","gravatar_id":"","url":"https://api.github.com/users/macabeus","html_url":"https://github.com/macabeus","followers_url":"https://api.github.com/users/macabeus/followers","following_url":"https://api.github.com/users/macabeus/following{/other_user}","gists_url":"https://api.github.com/users/macabeus/gists{/gist_id}","starred_url":"https://api.github.com/users/macabeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macabeus/subscriptions","organizations_url":"https://api.github.com/users/macabeus/orgs","repos_url":"https://api.github.com/users/macabeus/repos","events_url":"https://api.github.com/users/macabeus/events{/privacy}","received_events_url":"https://api.github.com/users/macabeus/received_events","type":"User","site_admin":false},"body":"Add a new component, `spaced-segmented-switch` (skin at PR https://github.com/pagarme/former-kit-skin-pagarme/pull/120).\r\n\r\n![image](https://user-images.githubusercontent.com/9501115/43735540-38bbec82-9991-11e8-8ea1-6a90e6559e75.png)\r\n\r\ncloses https://github.com/pagarme/pilot/issues/798","created_at":"2018-08-06T19:34:22Z","updated_at":"2018-08-06T19:45:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a47e204c3eefc2fbbe3d0c7bb0cce8d0feb4a81","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pagarme/former-kit/pulls/182/commits","review_comments_url":"https://api.github.com/repos/pagarme/former-kit/pulls/182/comments","review_comment_url":"https://api.github.com/repos/pagarme/former-kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pagarme/former-kit/issues/182/comments","statuses_url":"https://api.github.com/repos/pagarme/former-kit/statuses/420ccd698a8e22b124ba0ff1db3975dd982fe7cf","head":{"label":"pagarme:add/segmented-switch-spaced","ref":"add/segmented-switch-spaced","sha":"420ccd698a8e22b124ba0ff1db3975dd982fe7cf","user":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"repo":{"id":117535867,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc1MzU4Njc=","name":"former-kit","full_name":"pagarme/former-kit","owner":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagarme/former-kit","description":"✈️ Primitive and unstyled React components ready for receiving your own visual identity.","fork":false,"url":"https://api.github.com/repos/pagarme/former-kit","forks_url":"https://api.github.com/repos/pagarme/former-kit/forks","keys_url":"https://api.github.com/repos/pagarme/former-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagarme/former-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagarme/former-kit/teams","hooks_url":"https://api.github.com/repos/pagarme/former-kit/hooks","issue_events_url":"https://api.github.com/repos/pagarme/former-kit/issues/events{/number}","events_url":"https://api.github.com/repos/pagarme/former-kit/events","assignees_url":"https://api.github.com/repos/pagarme/former-kit/assignees{/user}","branches_url":"https://api.github.com/repos/pagarme/former-kit/branches{/branch}","tags_url":"https://api.github.com/repos/pagarme/former-kit/tags","blobs_url":"https://api.github.com/repos/pagarme/former-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagarme/former-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagarme/former-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagarme/former-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagarme/former-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/pagarme/former-kit/languages","stargazers_url":"https://api.github.com/repos/pagarme/former-kit/stargazers","contributors_url":"https://api.github.com/repos/pagarme/former-kit/contributors","subscribers_url":"https://api.github.com/repos/pagarme/former-kit/subscribers","subscription_url":"https://api.github.com/repos/pagarme/former-kit/subscription","commits_url":"https://api.github.com/repos/pagarme/former-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagarme/former-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagarme/former-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagarme/former-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagarme/former-kit/contents/{+path}","compare_url":"https://api.github.com/repos/pagarme/former-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagarme/former-kit/merges","archive_url":"https://api.github.com/repos/pagarme/former-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagarme/former-kit/downloads","issues_url":"https://api.github.com/repos/pagarme/former-kit/issues{/number}","pulls_url":"https://api.github.com/repos/pagarme/former-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/pagarme/former-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/pagarme/former-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagarme/former-kit/labels{/name}","releases_url":"https://api.github.com/repos/pagarme/former-kit/releases{/id}","deployments_url":"https://api.github.com/repos/pagarme/former-kit/deployments","created_at":"2018-01-15T11:16:03Z","updated_at":"2018-07-31T19:28:15Z","pushed_at":"2018-08-06T19:34:22Z","git_url":"git://github.com/pagarme/former-kit.git","ssh_url":"git@github.com:pagarme/former-kit.git","clone_url":"https://github.com/pagarme/former-kit.git","svn_url":"https://github.com/pagarme/former-kit","homepage":"https://pagarme.github.io/former-kit","size":7974,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":19,"watchers":36,"default_branch":"master"}},"base":{"label":"pagarme:master","ref":"master","sha":"8300c17bf6ae65c78884164ebe21fa3f4baa7b1a","user":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"repo":{"id":117535867,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc1MzU4Njc=","name":"former-kit","full_name":"pagarme/former-kit","owner":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagarme/former-kit","description":"✈️ Primitive and unstyled React components ready for receiving your own visual identity.","fork":false,"url":"https://api.github.com/repos/pagarme/former-kit","forks_url":"https://api.github.com/repos/pagarme/former-kit/forks","keys_url":"https://api.github.com/repos/pagarme/former-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagarme/former-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagarme/former-kit/teams","hooks_url":"https://api.github.com/repos/pagarme/former-kit/hooks","issue_events_url":"https://api.github.com/repos/pagarme/former-kit/issues/events{/number}","events_url":"https://api.github.com/repos/pagarme/former-kit/events","assignees_url":"https://api.github.com/repos/pagarme/former-kit/assignees{/user}","branches_url":"https://api.github.com/repos/pagarme/former-kit/branches{/branch}","tags_url":"https://api.github.com/repos/pagarme/former-kit/tags","blobs_url":"https://api.github.com/repos/pagarme/former-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagarme/former-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagarme/former-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagarme/former-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagarme/former-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/pagarme/former-kit/languages","stargazers_url":"https://api.github.com/repos/pagarme/former-kit/stargazers","contributors_url":"https://api.github.com/repos/pagarme/former-kit/contributors","subscribers_url":"https://api.github.com/repos/pagarme/former-kit/subscribers","subscription_url":"https://api.github.com/repos/pagarme/former-kit/subscription","commits_url":"https://api.github.com/repos/pagarme/former-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagarme/former-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagarme/former-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagarme/former-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagarme/former-kit/contents/{+path}","compare_url":"https://api.github.com/repos/pagarme/former-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagarme/former-kit/merges","archive_url":"https://api.github.com/repos/pagarme/former-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagarme/former-kit/downloads","issues_url":"https://api.github.com/repos/pagarme/former-kit/issues{/number}","pulls_url":"https://api.github.com/repos/pagarme/former-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/pagarme/former-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/pagarme/former-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagarme/former-kit/labels{/name}","releases_url":"https://api.github.com/repos/pagarme/former-kit/releases{/id}","deployments_url":"https://api.github.com/repos/pagarme/former-kit/deployments","created_at":"2018-01-15T11:16:03Z","updated_at":"2018-07-31T19:28:15Z","pushed_at":"2018-08-06T19:34:22Z","git_url":"git://github.com/pagarme/former-kit.git","ssh_url":"git@github.com:pagarme/former-kit.git","clone_url":"https://github.com/pagarme/former-kit.git","svn_url":"https://github.com/pagarme/former-kit","homepage":"https://pagarme.github.io/former-kit","size":7974,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":19,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagarme/former-kit/pulls/182"},"html":{"href":"https://github.com/pagarme/former-kit/pull/182"},"issue":{"href":"https://api.github.com/repos/pagarme/former-kit/issues/182"},"comments":{"href":"https://api.github.com/repos/pagarme/former-kit/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/pagarme/former-kit/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/pagarme/former-kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pagarme/former-kit/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/pagarme/former-kit/statuses/420ccd698a8e22b124ba0ff1db3975dd982fe7cf"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"uselessdev"}}