{"action":"created","comment":{"url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/comments/212051949","pull_request_review_id":148602748,"id":212051949,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjA1MTk0OQ==","diff_hunk":"@@ -0,0 +1,18 @@\n+import * as React from \"react\";\n+import { storiesOf } from \"@storybook/react\";\n+import { withReadme } from \"storybook-readme\";\n+import { Toggle } from \"../../index\";\n+\n+const readme = require(\"../README.md\");\n+\n+const primary = () => <div>primary component</div>;\n+const secondary = () => <div>secondary component</div>;\n+\n+storiesOf(\"Toggle\", module)\n+  .addDecorator(withReadme([readme]))\n+  .addWithInfo(\"string\", () => (\n+    <Toggle primaryContent=\"Hello\" secondaryContent=\"Bye\" />","path":"packages/toggle/stories/Toggle.stories.tsx","position":14,"original_position":14,"commit_id":"dd4c54673cf82589cc1cfa9fc971726f22d03d60","original_commit_id":"c949bd9aa76ad469bdbb20f89fb8422f8c358052","user":{"login":"weblancaster","id":549394,"node_id":"MDQ6VXNlcjU0OTM5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/549394?v=4","gravatar_id":"","url":"https://api.github.com/users/weblancaster","html_url":"https://github.com/weblancaster","followers_url":"https://api.github.com/users/weblancaster/followers","following_url":"https://api.github.com/users/weblancaster/following{/other_user}","gists_url":"https://api.github.com/users/weblancaster/gists{/gist_id}","starred_url":"https://api.github.com/users/weblancaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weblancaster/subscriptions","organizations_url":"https://api.github.com/users/weblancaster/orgs","repos_url":"https://api.github.com/users/weblancaster/repos","events_url":"https://api.github.com/users/weblancaster/events{/privacy}","received_events_url":"https://api.github.com/users/weblancaster/received_events","type":"User","site_admin":false},"body":"Sounds good.","created_at":"2018-08-22T18:04:21Z","updated_at":"2018-08-22T18:04:21Z","html_url":"https://github.com/dcos-labs/ui-kit/pull/211#discussion_r212051949","pull_request_url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/comments/212051949"},"html":{"href":"https://github.com/dcos-labs/ui-kit/pull/211#discussion_r212051949"},"pull_request":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211"}},"in_reply_to_id":211612402},"pull_request":{"url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211","id":209670166,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NjcwMTY2","html_url":"https://github.com/dcos-labs/ui-kit/pull/211","diff_url":"https://github.com/dcos-labs/ui-kit/pull/211.diff","patch_url":"https://github.com/dcos-labs/ui-kit/pull/211.patch","issue_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues/211","number":211,"state":"open","locked":false,"title":"DCOS-40043: toggle component","user":{"login":"weblancaster","id":549394,"node_id":"MDQ6VXNlcjU0OTM5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/549394?v=4","gravatar_id":"","url":"https://api.github.com/users/weblancaster","html_url":"https://github.com/weblancaster","followers_url":"https://api.github.com/users/weblancaster/followers","following_url":"https://api.github.com/users/weblancaster/following{/other_user}","gists_url":"https://api.github.com/users/weblancaster/gists{/gist_id}","starred_url":"https://api.github.com/users/weblancaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weblancaster/subscriptions","organizations_url":"https://api.github.com/users/weblancaster/orgs","repos_url":"https://api.github.com/users/weblancaster/repos","events_url":"https://api.github.com/users/weblancaster/events{/privacy}","received_events_url":"https://api.github.com/users/weblancaster/received_events","type":"User","site_admin":false},"body":"Add toggle component used to switch between two\r\nelements (String or JSX).\r\n\r\nCloses DCOS-40043","created_at":"2018-08-20T23:28:00Z","updated_at":"2018-08-22T18:04:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f80bf9585638692c727c56024dff8687b09abac","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Fabs","id":10524,"node_id":"MDQ6VXNlcjEwNTI0","avatar_url":"https://avatars1.githubusercontent.com/u/10524?v=4","gravatar_id":"","url":"https://api.github.com/users/Fabs","html_url":"https://github.com/Fabs","followers_url":"https://api.github.com/users/Fabs/followers","following_url":"https://api.github.com/users/Fabs/following{/other_user}","gists_url":"https://api.github.com/users/Fabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Fabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fabs/subscriptions","organizations_url":"https://api.github.com/users/Fabs/orgs","repos_url":"https://api.github.com/users/Fabs/repos","events_url":"https://api.github.com/users/Fabs/events{/privacy}","received_events_url":"https://api.github.com/users/Fabs/received_events","type":"User","site_admin":false},{"login":"Poltergeist","id":156010,"node_id":"MDQ6VXNlcjE1NjAxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/156010?v=4","gravatar_id":"","url":"https://api.github.com/users/Poltergeist","html_url":"https://github.com/Poltergeist","followers_url":"https://api.github.com/users/Poltergeist/followers","following_url":"https://api.github.com/users/Poltergeist/following{/other_user}","gists_url":"https://api.github.com/users/Poltergeist/gists{/gist_id}","starred_url":"https://api.github.com/users/Poltergeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Poltergeist/subscriptions","organizations_url":"https://api.github.com/users/Poltergeist/orgs","repos_url":"https://api.github.com/users/Poltergeist/repos","events_url":"https://api.github.com/users/Poltergeist/events{/privacy}","received_events_url":"https://api.github.com/users/Poltergeist/received_events","type":"User","site_admin":false},{"login":"nLight","id":186223,"node_id":"MDQ6VXNlcjE4NjIyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/186223?v=4","gravatar_id":"","url":"https://api.github.com/users/nLight","html_url":"https://github.com/nLight","followers_url":"https://api.github.com/users/nLight/followers","following_url":"https://api.github.com/users/nLight/following{/other_user}","gists_url":"https://api.github.com/users/nLight/gists{/gist_id}","starred_url":"https://api.github.com/users/nLight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nLight/subscriptions","organizations_url":"https://api.github.com/users/nLight/orgs","repos_url":"https://api.github.com/users/nLight/repos","events_url":"https://api.github.com/users/nLight/events{/privacy}","received_events_url":"https://api.github.com/users/nLight/received_events","type":"User","site_admin":false},{"login":"juliangieseke","id":530632,"node_id":"MDQ6VXNlcjUzMDYzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/530632?v=4","gravatar_id":"","url":"https://api.github.com/users/juliangieseke","html_url":"https://github.com/juliangieseke","followers_url":"https://api.github.com/users/juliangieseke/followers","following_url":"https://api.github.com/users/juliangieseke/following{/other_user}","gists_url":"https://api.github.com/users/juliangieseke/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangieseke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangieseke/subscriptions","organizations_url":"https://api.github.com/users/juliangieseke/orgs","repos_url":"https://api.github.com/users/juliangieseke/repos","events_url":"https://api.github.com/users/juliangieseke/events{/privacy}","received_events_url":"https://api.github.com/users/juliangieseke/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":881424529,"node_id":"MDU6TGFiZWw4ODE0MjQ1Mjk=","url":"https://api.github.com/repos/dcos-labs/ui-kit/labels/hold%20merge","name":"hold merge","color":"097ec6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211/commits","review_comments_url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211/comments","review_comment_url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues/211/comments","statuses_url":"https://api.github.com/repos/dcos-labs/ui-kit/statuses/dd4c54673cf82589cc1cfa9fc971726f22d03d60","head":{"label":"dcos-labs:weblancaster/feat/DCOS-40043-toggle-component","ref":"weblancaster/feat/DCOS-40043-toggle-component","sha":"dd4c54673cf82589cc1cfa9fc971726f22d03d60","user":{"login":"dcos-labs","id":19392808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MzkyODA4","avatar_url":"https://avatars1.githubusercontent.com/u/19392808?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos-labs","html_url":"https://github.com/dcos-labs","followers_url":"https://api.github.com/users/dcos-labs/followers","following_url":"https://api.github.com/users/dcos-labs/following{/other_user}","gists_url":"https://api.github.com/users/dcos-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos-labs/subscriptions","organizations_url":"https://api.github.com/users/dcos-labs/orgs","repos_url":"https://api.github.com/users/dcos-labs/repos","events_url":"https://api.github.com/users/dcos-labs/events{/privacy}","received_events_url":"https://api.github.com/users/dcos-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":125121993,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUxMjE5OTM=","name":"ui-kit","full_name":"dcos-labs/ui-kit","owner":{"login":"dcos-labs","id":19392808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MzkyODA4","avatar_url":"https://avatars1.githubusercontent.com/u/19392808?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos-labs","html_url":"https://github.com/dcos-labs","followers_url":"https://api.github.com/users/dcos-labs/followers","following_url":"https://api.github.com/users/dcos-labs/following{/other_user}","gists_url":"https://api.github.com/users/dcos-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos-labs/subscriptions","organizations_url":"https://api.github.com/users/dcos-labs/orgs","repos_url":"https://api.github.com/users/dcos-labs/repos","events_url":"https://api.github.com/users/dcos-labs/events{/privacy}","received_events_url":"https://api.github.com/users/dcos-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos-labs/ui-kit","description":"DCOS UI component library and docs","fork":false,"url":"https://api.github.com/repos/dcos-labs/ui-kit","forks_url":"https://api.github.com/repos/dcos-labs/ui-kit/forks","keys_url":"https://api.github.com/repos/dcos-labs/ui-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos-labs/ui-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos-labs/ui-kit/teams","hooks_url":"https://api.github.com/repos/dcos-labs/ui-kit/hooks","issue_events_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues/events{/number}","events_url":"https://api.github.com/repos/dcos-labs/ui-kit/events","assignees_url":"https://api.github.com/repos/dcos-labs/ui-kit/assignees{/user}","branches_url":"https://api.github.com/repos/dcos-labs/ui-kit/branches{/branch}","tags_url":"https://api.github.com/repos/dcos-labs/ui-kit/tags","blobs_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos-labs/ui-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos-labs/ui-kit/languages","stargazers_url":"https://api.github.com/repos/dcos-labs/ui-kit/stargazers","contributors_url":"https://api.github.com/repos/dcos-labs/ui-kit/contributors","subscribers_url":"https://api.github.com/repos/dcos-labs/ui-kit/subscribers","subscription_url":"https://api.github.com/repos/dcos-labs/ui-kit/subscription","commits_url":"https://api.github.com/repos/dcos-labs/ui-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos-labs/ui-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos-labs/ui-kit/contents/{+path}","compare_url":"https://api.github.com/repos/dcos-labs/ui-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos-labs/ui-kit/merges","archive_url":"https://api.github.com/repos/dcos-labs/ui-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos-labs/ui-kit/downloads","issues_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues{/number}","pulls_url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos-labs/ui-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos-labs/ui-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos-labs/ui-kit/labels{/name}","releases_url":"https://api.github.com/repos/dcos-labs/ui-kit/releases{/id}","deployments_url":"https://api.github.com/repos/dcos-labs/ui-kit/deployments","created_at":"2018-03-13T22:21:20Z","updated_at":"2018-08-22T17:29:54Z","pushed_at":"2018-08-22T17:38:45Z","git_url":"git://github.com/dcos-labs/ui-kit.git","ssh_url":"git@github.com:dcos-labs/ui-kit.git","clone_url":"https://github.com/dcos-labs/ui-kit.git","svn_url":"https://github.com/dcos-labs/ui-kit","homepage":"https://dcos-labs.github.io/ui-kit/","size":1734,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"dcos-labs:master","ref":"master","sha":"c41900a69f17f07c684e302f695d817dd04a193e","user":{"login":"dcos-labs","id":19392808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MzkyODA4","avatar_url":"https://avatars1.githubusercontent.com/u/19392808?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos-labs","html_url":"https://github.com/dcos-labs","followers_url":"https://api.github.com/users/dcos-labs/followers","following_url":"https://api.github.com/users/dcos-labs/following{/other_user}","gists_url":"https://api.github.com/users/dcos-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos-labs/subscriptions","organizations_url":"https://api.github.com/users/dcos-labs/orgs","repos_url":"https://api.github.com/users/dcos-labs/repos","events_url":"https://api.github.com/users/dcos-labs/events{/privacy}","received_events_url":"https://api.github.com/users/dcos-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":125121993,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUxMjE5OTM=","name":"ui-kit","full_name":"dcos-labs/ui-kit","owner":{"login":"dcos-labs","id":19392808,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MzkyODA4","avatar_url":"https://avatars1.githubusercontent.com/u/19392808?v=4","gravatar_id":"","url":"https://api.github.com/users/dcos-labs","html_url":"https://github.com/dcos-labs","followers_url":"https://api.github.com/users/dcos-labs/followers","following_url":"https://api.github.com/users/dcos-labs/following{/other_user}","gists_url":"https://api.github.com/users/dcos-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos-labs/subscriptions","organizations_url":"https://api.github.com/users/dcos-labs/orgs","repos_url":"https://api.github.com/users/dcos-labs/repos","events_url":"https://api.github.com/users/dcos-labs/events{/privacy}","received_events_url":"https://api.github.com/users/dcos-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos-labs/ui-kit","description":"DCOS UI component library and docs","fork":false,"url":"https://api.github.com/repos/dcos-labs/ui-kit","forks_url":"https://api.github.com/repos/dcos-labs/ui-kit/forks","keys_url":"https://api.github.com/repos/dcos-labs/ui-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos-labs/ui-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos-labs/ui-kit/teams","hooks_url":"https://api.github.com/repos/dcos-labs/ui-kit/hooks","issue_events_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues/events{/number}","events_url":"https://api.github.com/repos/dcos-labs/ui-kit/events","assignees_url":"https://api.github.com/repos/dcos-labs/ui-kit/assignees{/user}","branches_url":"https://api.github.com/repos/dcos-labs/ui-kit/branches{/branch}","tags_url":"https://api.github.com/repos/dcos-labs/ui-kit/tags","blobs_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos-labs/ui-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos-labs/ui-kit/languages","stargazers_url":"https://api.github.com/repos/dcos-labs/ui-kit/stargazers","contributors_url":"https://api.github.com/repos/dcos-labs/ui-kit/contributors","subscribers_url":"https://api.github.com/repos/dcos-labs/ui-kit/subscribers","subscription_url":"https://api.github.com/repos/dcos-labs/ui-kit/subscription","commits_url":"https://api.github.com/repos/dcos-labs/ui-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos-labs/ui-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos-labs/ui-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos-labs/ui-kit/contents/{+path}","compare_url":"https://api.github.com/repos/dcos-labs/ui-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos-labs/ui-kit/merges","archive_url":"https://api.github.com/repos/dcos-labs/ui-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos-labs/ui-kit/downloads","issues_url":"https://api.github.com/repos/dcos-labs/ui-kit/issues{/number}","pulls_url":"https://api.github.com/repos/dcos-labs/ui-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos-labs/ui-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos-labs/ui-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos-labs/ui-kit/labels{/name}","releases_url":"https://api.github.com/repos/dcos-labs/ui-kit/releases{/id}","deployments_url":"https://api.github.com/repos/dcos-labs/ui-kit/deployments","created_at":"2018-03-13T22:21:20Z","updated_at":"2018-08-22T17:29:54Z","pushed_at":"2018-08-22T17:38:45Z","git_url":"git://github.com/dcos-labs/ui-kit.git","ssh_url":"git@github.com:dcos-labs/ui-kit.git","clone_url":"https://github.com/dcos-labs/ui-kit.git","svn_url":"https://github.com/dcos-labs/ui-kit","homepage":"https://dcos-labs.github.io/ui-kit/","size":1734,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211"},"html":{"href":"https://github.com/dcos-labs/ui-kit/pull/211"},"issue":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/issues/211"},"comments":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/issues/211/comments"},"review_comments":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211/comments"},"review_comment":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/pulls/211/commits"},"statuses":{"href":"https://api.github.com/repos/dcos-labs/ui-kit/statuses/dd4c54673cf82589cc1cfa9fc971726f22d03d60"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"weblancaster"}}