{"action":"created","comment":{"url":"https://api.github.com/repos/kiwicom/mobile/pulls/comments/193360218","pull_request_review_id":126312835,"id":193360218,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzM2MDIxOA==","diff_hunk":"@@ -29,11 +33,75 @@ const Header = (props: Props) => {\n         <View style={styleSheet.separator}>\n           <SeparatorFullWidth />\n         </View>\n-        <TripInfo data={booking} />\n+        {props.children}\n       </View>\n     </React.Fragment>\n   );\n-};\n+}\n+\n+class Header extends React.Component<\n+  {|\n+    +data: HeaderType,\n+    +openSubmenu: (activeId: string, menuId: string) => void,","path":"app/MMB/src/components/header/Header.js","position":52,"original_position":52,"commit_id":"f54c6d431d7579303d9908c108f2dad3ceedb304","original_commit_id":"f54c6d431d7579303d9908c108f2dad3ceedb304","user":{"login":"tbergq","id":7705041,"node_id":"MDQ6VXNlcjc3MDUwNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/7705041?v=4","gravatar_id":"","url":"https://api.github.com/users/tbergq","html_url":"https://github.com/tbergq","followers_url":"https://api.github.com/users/tbergq/followers","following_url":"https://api.github.com/users/tbergq/following{/other_user}","gists_url":"https://api.github.com/users/tbergq/gists{/gist_id}","starred_url":"https://api.github.com/users/tbergq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbergq/subscriptions","organizations_url":"https://api.github.com/users/tbergq/orgs","repos_url":"https://api.github.com/users/tbergq/repos","events_url":"https://api.github.com/users/tbergq/events{/privacy}","received_events_url":"https://api.github.com/users/tbergq/received_events","type":"User","site_admin":false},"body":"Can you define a type Props instead?","created_at":"2018-06-06T10:07:33Z","updated_at":"2018-06-06T10:07:33Z","html_url":"https://github.com/kiwicom/mobile/pull/713#discussion_r193360218","pull_request_url":"https://api.github.com/repos/kiwicom/mobile/pulls/713","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/comments/193360218"},"html":{"href":"https://github.com/kiwicom/mobile/pull/713#discussion_r193360218"},"pull_request":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/713"}}},"pull_request":{"url":"https://api.github.com/repos/kiwicom/mobile/pulls/713","id":192943384,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyOTQzMzg0","html_url":"https://github.com/kiwicom/mobile/pull/713","diff_url":"https://github.com/kiwicom/mobile/pull/713.diff","patch_url":"https://github.com/kiwicom/mobile/pull/713.patch","issue_url":"https://api.github.com/repos/kiwicom/mobile/issues/713","number":713,"state":"open","locked":false,"title":"MMB: refactor trip overview layout","user":{"login":"mrtnzlml","id":978368,"node_id":"MDQ6VXNlcjk3ODM2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/978368?v=4","gravatar_id":"","url":"https://api.github.com/users/mrtnzlml","html_url":"https://github.com/mrtnzlml","followers_url":"https://api.github.com/users/mrtnzlml/followers","following_url":"https://api.github.com/users/mrtnzlml/following{/other_user}","gists_url":"https://api.github.com/users/mrtnzlml/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtnzlml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtnzlml/subscriptions","organizations_url":"https://api.github.com/users/mrtnzlml/orgs","repos_url":"https://api.github.com/users/mrtnzlml/repos","events_url":"https://api.github.com/users/mrtnzlml/events{/privacy}","received_events_url":"https://api.github.com/users/mrtnzlml/received_events","type":"User","site_admin":false},"body":"The whole header must be clickable on mobile but there must be just one\r\nbutton on tablet. I also connected the trip overview to the GraphQL.\r\nNote: no design yet.","created_at":"2018-06-06T08:54:44Z","updated_at":"2018-06-06T10:07:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94d94ff840d296b83af0b5505fa4e66c53b7ea79","assignee":null,"assignees":[],"requested_reviewers":[{"login":"RobinCsl","id":22741774,"node_id":"MDQ6VXNlcjIyNzQxNzc0","avatar_url":"https://avatars3.githubusercontent.com/u/22741774?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinCsl","html_url":"https://github.com/RobinCsl","followers_url":"https://api.github.com/users/RobinCsl/followers","following_url":"https://api.github.com/users/RobinCsl/following{/other_user}","gists_url":"https://api.github.com/users/RobinCsl/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinCsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinCsl/subscriptions","organizations_url":"https://api.github.com/users/RobinCsl/orgs","repos_url":"https://api.github.com/users/RobinCsl/repos","events_url":"https://api.github.com/users/RobinCsl/events{/privacy}","received_events_url":"https://api.github.com/users/RobinCsl/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kiwicom/mobile/pulls/713/commits","review_comments_url":"https://api.github.com/repos/kiwicom/mobile/pulls/713/comments","review_comment_url":"https://api.github.com/repos/kiwicom/mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiwicom/mobile/issues/713/comments","statuses_url":"https://api.github.com/repos/kiwicom/mobile/statuses/f54c6d431d7579303d9908c108f2dad3ceedb304","head":{"label":"kiwicom:refactor-trip-overview-layout","ref":"refactor-trip-overview-layout","sha":"f54c6d431d7579303d9908c108f2dad3ceedb304","user":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"repo":{"id":105595148,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU1OTUxNDg=","name":"mobile","full_name":"kiwicom/mobile","owner":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwicom/mobile","description":":calling: Kiwi.com mobile app written in React Native","fork":false,"url":"https://api.github.com/repos/kiwicom/mobile","forks_url":"https://api.github.com/repos/kiwicom/mobile/forks","keys_url":"https://api.github.com/repos/kiwicom/mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwicom/mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwicom/mobile/teams","hooks_url":"https://api.github.com/repos/kiwicom/mobile/hooks","issue_events_url":"https://api.github.com/repos/kiwicom/mobile/issues/events{/number}","events_url":"https://api.github.com/repos/kiwicom/mobile/events","assignees_url":"https://api.github.com/repos/kiwicom/mobile/assignees{/user}","branches_url":"https://api.github.com/repos/kiwicom/mobile/branches{/branch}","tags_url":"https://api.github.com/repos/kiwicom/mobile/tags","blobs_url":"https://api.github.com/repos/kiwicom/mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwicom/mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwicom/mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwicom/mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwicom/mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwicom/mobile/languages","stargazers_url":"https://api.github.com/repos/kiwicom/mobile/stargazers","contributors_url":"https://api.github.com/repos/kiwicom/mobile/contributors","subscribers_url":"https://api.github.com/repos/kiwicom/mobile/subscribers","subscription_url":"https://api.github.com/repos/kiwicom/mobile/subscription","commits_url":"https://api.github.com/repos/kiwicom/mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwicom/mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwicom/mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwicom/mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwicom/mobile/contents/{+path}","compare_url":"https://api.github.com/repos/kiwicom/mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwicom/mobile/merges","archive_url":"https://api.github.com/repos/kiwicom/mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwicom/mobile/downloads","issues_url":"https://api.github.com/repos/kiwicom/mobile/issues{/number}","pulls_url":"https://api.github.com/repos/kiwicom/mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwicom/mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwicom/mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwicom/mobile/labels{/name}","releases_url":"https://api.github.com/repos/kiwicom/mobile/releases{/id}","deployments_url":"https://api.github.com/repos/kiwicom/mobile/deployments","created_at":"2017-10-02T23:21:42Z","updated_at":"2018-06-06T10:02:33Z","pushed_at":"2018-06-06T10:02:39Z","git_url":"git://github.com/kiwicom/mobile.git","ssh_url":"git@github.com:kiwicom/mobile.git","clone_url":"https://github.com/kiwicom/mobile.git","svn_url":"https://github.com/kiwicom/mobile","homepage":"https://www.kiwi.com/","size":12959,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":10,"open_issues":21,"watchers":27,"default_branch":"master"}},"base":{"label":"kiwicom:master","ref":"master","sha":"af992547fca52fd29ba498ffc790f705f8ecc73b","user":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"repo":{"id":105595148,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU1OTUxNDg=","name":"mobile","full_name":"kiwicom/mobile","owner":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwicom/mobile","description":":calling: Kiwi.com mobile app written in React Native","fork":false,"url":"https://api.github.com/repos/kiwicom/mobile","forks_url":"https://api.github.com/repos/kiwicom/mobile/forks","keys_url":"https://api.github.com/repos/kiwicom/mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwicom/mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwicom/mobile/teams","hooks_url":"https://api.github.com/repos/kiwicom/mobile/hooks","issue_events_url":"https://api.github.com/repos/kiwicom/mobile/issues/events{/number}","events_url":"https://api.github.com/repos/kiwicom/mobile/events","assignees_url":"https://api.github.com/repos/kiwicom/mobile/assignees{/user}","branches_url":"https://api.github.com/repos/kiwicom/mobile/branches{/branch}","tags_url":"https://api.github.com/repos/kiwicom/mobile/tags","blobs_url":"https://api.github.com/repos/kiwicom/mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwicom/mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwicom/mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwicom/mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwicom/mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwicom/mobile/languages","stargazers_url":"https://api.github.com/repos/kiwicom/mobile/stargazers","contributors_url":"https://api.github.com/repos/kiwicom/mobile/contributors","subscribers_url":"https://api.github.com/repos/kiwicom/mobile/subscribers","subscription_url":"https://api.github.com/repos/kiwicom/mobile/subscription","commits_url":"https://api.github.com/repos/kiwicom/mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwicom/mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwicom/mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwicom/mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwicom/mobile/contents/{+path}","compare_url":"https://api.github.com/repos/kiwicom/mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwicom/mobile/merges","archive_url":"https://api.github.com/repos/kiwicom/mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwicom/mobile/downloads","issues_url":"https://api.github.com/repos/kiwicom/mobile/issues{/number}","pulls_url":"https://api.github.com/repos/kiwicom/mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwicom/mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwicom/mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwicom/mobile/labels{/name}","releases_url":"https://api.github.com/repos/kiwicom/mobile/releases{/id}","deployments_url":"https://api.github.com/repos/kiwicom/mobile/deployments","created_at":"2017-10-02T23:21:42Z","updated_at":"2018-06-06T10:02:33Z","pushed_at":"2018-06-06T10:02:39Z","git_url":"git://github.com/kiwicom/mobile.git","ssh_url":"git@github.com:kiwicom/mobile.git","clone_url":"https://github.com/kiwicom/mobile.git","svn_url":"https://github.com/kiwicom/mobile","homepage":"https://www.kiwi.com/","size":12959,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":10,"open_issues":21,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/713"},"html":{"href":"https://github.com/kiwicom/mobile/pull/713"},"issue":{"href":"https://api.github.com/repos/kiwicom/mobile/issues/713"},"comments":{"href":"https://api.github.com/repos/kiwicom/mobile/issues/713/comments"},"review_comments":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/713/comments"},"review_comment":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/713/commits"},"statuses":{"href":"https://api.github.com/repos/kiwicom/mobile/statuses/f54c6d431d7579303d9908c108f2dad3ceedb304"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"tbergq"}}