{"action":"created","issue":{"url":"https://api.github.com/repos/tdeekens/flopflip/issues/50","repository_url":"https://api.github.com/repos/tdeekens/flopflip","labels_url":"https://api.github.com/repos/tdeekens/flopflip/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/tdeekens/flopflip/issues/50/comments","events_url":"https://api.github.com/repos/tdeekens/flopflip/issues/50/events","html_url":"https://github.com/tdeekens/flopflip/pull/50","id":267413515,"number":50,"title":"FeatureToggled to accept node or function for togged/untoggled","user":{"login":"tdeekens","id":1877073,"avatar_url":"https://avatars3.githubusercontent.com/u/1877073?v=4","gravatar_id":"","url":"https://api.github.com/users/tdeekens","html_url":"https://github.com/tdeekens","followers_url":"https://api.github.com/users/tdeekens/followers","following_url":"https://api.github.com/users/tdeekens/following{/other_user}","gists_url":"https://api.github.com/users/tdeekens/gists{/gist_id}","starred_url":"https://api.github.com/users/tdeekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdeekens/subscriptions","organizations_url":"https://api.github.com/users/tdeekens/orgs","repos_url":"https://api.github.com/users/tdeekens/repos","events_url":"https://api.github.com/users/tdeekens/events{/privacy}","received_events_url":"https://api.github.com/users/tdeekens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tdeekens","id":1877073,"avatar_url":"https://avatars3.githubusercontent.com/u/1877073?v=4","gravatar_id":"","url":"https://api.github.com/users/tdeekens","html_url":"https://github.com/tdeekens","followers_url":"https://api.github.com/users/tdeekens/followers","following_url":"https://api.github.com/users/tdeekens/following{/other_user}","gists_url":"https://api.github.com/users/tdeekens/gists{/gist_id}","starred_url":"https://api.github.com/users/tdeekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdeekens/subscriptions","organizations_url":"https://api.github.com/users/tdeekens/orgs","repos_url":"https://api.github.com/users/tdeekens/repos","events_url":"https://api.github.com/users/tdeekens/events{/privacy}","received_events_url":"https://api.github.com/users/tdeekens/received_events","type":"User","site_admin":false},"assignees":[{"login":"tdeekens","id":1877073,"avatar_url":"https://avatars3.githubusercontent.com/u/1877073?v=4","gravatar_id":"","url":"https://api.github.com/users/tdeekens","html_url":"https://github.com/tdeekens","followers_url":"https://api.github.com/users/tdeekens/followers","following_url":"https://api.github.com/users/tdeekens/following{/other_user}","gists_url":"https://api.github.com/users/tdeekens/gists{/gist_id}","starred_url":"https://api.github.com/users/tdeekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdeekens/subscriptions","organizations_url":"https://api.github.com/users/tdeekens/orgs","repos_url":"https://api.github.com/users/tdeekens/repos","events_url":"https://api.github.com/users/tdeekens/events{/privacy}","received_events_url":"https://api.github.com/users/tdeekens/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-10-21T20:54:58Z","updated_at":"2017-10-21T20:55:00Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/tdeekens/flopflip/pulls/50","html_url":"https://github.com/tdeekens/flopflip/pull/50","diff_url":"https://github.com/tdeekens/flopflip/pull/50.diff","patch_url":"https://github.com/tdeekens/flopflip/pull/50.patch"},"body":"> Refactors `FeatureToggeld` to be more relaxed on what it accepts as arguments.\r\n\r\nBefore\r\n\r\n```jsx\r\n<Featuretoggled flag=\"foo\" untoggledComponent={UntoggledComponent}>\r\n   <Yay />\r\n</Featuretoggled>\r\n```\r\n\r\nAfter\r\n\r\n```jsx\r\n<Featuretoggled flag=\"foo\" untoggledComponent={<UntoggledComponent />}>\r\n   <Yay />\r\n</Featuretoggled>\r\n```\r\n\r\n```jsx\r\n<Featuretoggled flag=\"foo\" untoggledComponent={<UntoggledComponent />}>\r\n   {() => <Yay />}\r\n</Featuretoggled>\r\n```\r\n\r\n```jsx\r\n<Featuretoggled flag=\"foo\" untoggledComponent={<UntoggledComponent />} toggledComponent={<ToggledComponent />} />\r\n```"},"comment":{"url":"https://api.github.com/repos/tdeekens/flopflip/issues/comments/338431715","html_url":"https://github.com/tdeekens/flopflip/pull/50#issuecomment-338431715","issue_url":"https://api.github.com/repos/tdeekens/flopflip/issues/50","id":338431715,"user":{"login":"codecov[bot]","id":22429695,"avatar_url":"https://avatars2.githubusercontent.com/in/254?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov%5Bbot%5D","html_url":"https://github.com/apps/codecov","followers_url":"https://api.github.com/users/codecov%5Bbot%5D/followers","following_url":"https://api.github.com/users/codecov%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codecov%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codecov%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codecov%5Bbot%5D/repos","events_url":"https://api.github.com/users/codecov%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codecov%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2017-10-21T20:55:00Z","updated_at":"2017-10-21T20:55:00Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/tdeekens/flopflip/pull/50?src=pr&el=h1) Report\n> Merging [#50](https://codecov.io/gh/tdeekens/flopflip/pull/50?src=pr&el=desc) into [release/3.0.0](https://codecov.io/gh/tdeekens/flopflip/commit/61193012a2ad5b6ad2076556aae5ab91558fb71e?src=pr&el=desc) will **decrease** coverage by `0.61%`.\n> The diff coverage is `90%`.\n\n[![Impacted file tree graph](https://codecov.io/gh/tdeekens/flopflip/pull/50/graphs/tree.svg?token=QB77hgphUg&width=650&height=150&src=pr)](https://codecov.io/gh/tdeekens/flopflip/pull/50?src=pr&el=tree)\n\n```diff\n@@                Coverage Diff                @@\n##           release/3.0.0      #50      +/-   ##\n=================================================\n- Coverage          96.22%   95.61%   -0.62%     \n=================================================\n  Files                 19       19              \n  Lines                106      114       +8     \n  Branches              13       17       +4     \n=================================================\n+ Hits                 102      109       +7     \n- Misses                 4        5       +1\n```\n\n\n| [Impacted Files](https://codecov.io/gh/tdeekens/flopflip/pull/50?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [...ckages/react/modules/components/feature-toggled.js](https://codecov.io/gh/tdeekens/flopflip/pull/50?src=pr&el=tree#diff-cGFja2FnZXMvcmVhY3QvbW9kdWxlcy9jb21wb25lbnRzL2ZlYXR1cmUtdG9nZ2xlZC5qcw==) | `90.9% <90%> (-9.1%)` | :arrow_down: |\n"}}
{"actor":{"display_login":"codecov"}}