{"action":"created","issue":{"url":"https://api.github.com/repos/SpareBank1/designsystem/issues/239","repository_url":"https://api.github.com/repos/SpareBank1/designsystem","labels_url":"https://api.github.com/repos/SpareBank1/designsystem/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/SpareBank1/designsystem/issues/239/comments","events_url":"https://api.github.com/repos/SpareBank1/designsystem/issues/239/events","html_url":"https://github.com/SpareBank1/designsystem/pull/239","id":324335053,"number":239,"title":"feat(ffe-checkbox-react): allow children as a function","user":{"login":"henrikhermansen","id":435037,"avatar_url":"https://avatars2.githubusercontent.com/u/435037?v=4","gravatar_id":"","url":"https://api.github.com/users/henrikhermansen","html_url":"https://github.com/henrikhermansen","followers_url":"https://api.github.com/users/henrikhermansen/followers","following_url":"https://api.github.com/users/henrikhermansen/following{/other_user}","gists_url":"https://api.github.com/users/henrikhermansen/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikhermansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikhermansen/subscriptions","organizations_url":"https://api.github.com/users/henrikhermansen/orgs","repos_url":"https://api.github.com/users/henrikhermansen/repos","events_url":"https://api.github.com/users/henrikhermansen/events{/privacy}","received_events_url":"https://api.github.com/users/henrikhermansen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-18T09:25:55Z","updated_at":"2018-05-22T06:17:13Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/SpareBank1/designsystem/pulls/239","html_url":"https://github.com/SpareBank1/designsystem/pull/239","diff_url":"https://github.com/SpareBank1/designsystem/pull/239.diff","patch_url":"https://github.com/SpareBank1/designsystem/pull/239.patch"},"body":"I haven't quite given up on resolving #158 with changes to the Designsystem.\r\nI'm now taking a more general approach to the problem, with a suggested solution that could potentially be helpful for other issues as well.\r\n\r\nThis commit allows the children of Checkbox to be a function. This will\r\nallow consumers to further customize their label node. The function is\r\npassed one argument which is an object with props. These props should be\r\nspread on the rendered label.\r\n\r\nResolves #158\r\nCloses #162 "},"comment":{"url":"https://api.github.com/repos/SpareBank1/designsystem/issues/comments/390875411","html_url":"https://github.com/SpareBank1/designsystem/pull/239#issuecomment-390875411","issue_url":"https://api.github.com/repos/SpareBank1/designsystem/issues/239","id":390875411,"user":{"login":"selbekk","id":1307267,"avatar_url":"https://avatars1.githubusercontent.com/u/1307267?v=4","gravatar_id":"","url":"https://api.github.com/users/selbekk","html_url":"https://github.com/selbekk","followers_url":"https://api.github.com/users/selbekk/followers","following_url":"https://api.github.com/users/selbekk/following{/other_user}","gists_url":"https://api.github.com/users/selbekk/gists{/gist_id}","starred_url":"https://api.github.com/users/selbekk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selbekk/subscriptions","organizations_url":"https://api.github.com/users/selbekk/orgs","repos_url":"https://api.github.com/users/selbekk/repos","events_url":"https://api.github.com/users/selbekk/events{/privacy}","received_events_url":"https://api.github.com/users/selbekk/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T06:17:13Z","updated_at":"2018-05-22T06:17:13Z","author_association":"CONTRIBUTOR","body":"Looks good to me! 👍 \r\n"}}
{"actor":{"display_login":"selbekk"}}