{"action":"created","issue":{"url":"https://api.github.com/repos/klarna/ui-react-components/issues/34","repository_url":"https://api.github.com/repos/klarna/ui-react-components","labels_url":"https://api.github.com/repos/klarna/ui-react-components/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/klarna/ui-react-components/issues/34/comments","events_url":"https://api.github.com/repos/klarna/ui-react-components/issues/34/events","html_url":"https://github.com/klarna/ui-react-components/issues/34","id":157922236,"number":34,"title":"Switches as input checkbox?","user":{"login":"JoakimLofgren","id":895361,"avatar_url":"https://avatars.githubusercontent.com/u/895361?v=3","gravatar_id":"","url":"https://api.github.com/users/JoakimLofgren","html_url":"https://github.com/JoakimLofgren","followers_url":"https://api.github.com/users/JoakimLofgren/followers","following_url":"https://api.github.com/users/JoakimLofgren/following{/other_user}","gists_url":"https://api.github.com/users/JoakimLofgren/gists{/gist_id}","starred_url":"https://api.github.com/users/JoakimLofgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoakimLofgren/subscriptions","organizations_url":"https://api.github.com/users/JoakimLofgren/orgs","repos_url":"https://api.github.com/users/JoakimLofgren/repos","events_url":"https://api.github.com/users/JoakimLofgren/events{/privacy}","received_events_url":"https://api.github.com/users/JoakimLofgren/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/klarna/ui-react-components/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/klarna/ui-react-components/milestones/1","html_url":"https://github.com/klarna/ui-react-components/milestones/1.0","labels_url":"https://api.github.com/repos/klarna/ui-react-components/milestones/1/labels","id":1815989,"number":1,"title":"1.0","description":"","creator":{"login":"joaomilho","id":308196,"avatar_url":"https://avatars.githubusercontent.com/u/308196?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomilho","html_url":"https://github.com/joaomilho","followers_url":"https://api.github.com/users/joaomilho/followers","following_url":"https://api.github.com/users/joaomilho/following{/other_user}","gists_url":"https://api.github.com/users/joaomilho/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomilho/subscriptions","organizations_url":"https://api.github.com/users/joaomilho/orgs","repos_url":"https://api.github.com/users/joaomilho/repos","events_url":"https://api.github.com/users/joaomilho/events{/privacy}","received_events_url":"https://api.github.com/users/joaomilho/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":1,"state":"open","created_at":"2016-06-08T15:43:59Z","updated_at":"2016-06-22T09:38:49Z","due_on":"2016-09-06T21:00:00Z","closed_at":null},"comments":5,"created_at":"2016-06-01T14:32:59Z","updated_at":"2016-06-22T09:44:54Z","closed_at":null,"body":"Wouldn't there be a lot less logic needed if we used a real checkbox which is `display:none` with a label attached to it? So when you click the label it changes the state of the checkbox without any onClick handlers?\r\n\r\nOr was there a reason why you didn't use a checkbox underneath?\r\n\r\nhttps://github.com/klarna/ui-react-components/blob/master/components/Switch.jsx#L70\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/klarna/ui-react-components/issues/comments/227694996","html_url":"https://github.com/klarna/ui-react-components/issues/34#issuecomment-227694996","issue_url":"https://api.github.com/repos/klarna/ui-react-components/issues/34","id":227694996,"user":{"login":"joaomilho","id":308196,"avatar_url":"https://avatars.githubusercontent.com/u/308196?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomilho","html_url":"https://github.com/joaomilho","followers_url":"https://api.github.com/users/joaomilho/followers","following_url":"https://api.github.com/users/joaomilho/following{/other_user}","gists_url":"https://api.github.com/users/joaomilho/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomilho/subscriptions","organizations_url":"https://api.github.com/users/joaomilho/orgs","repos_url":"https://api.github.com/users/joaomilho/repos","events_url":"https://api.github.com/users/joaomilho/events{/privacy}","received_events_url":"https://api.github.com/users/joaomilho/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T09:44:54Z","updated_at":"2016-06-22T09:44:54Z","body":"I guess one thing to be aware when implementing this is how it looks like when the user does tab navigation."}}
{"actor":{"display_login":"joaomilho"}}