{"action":"opened","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4502","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4502/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4502/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4502/events","html_url":"https://github.com/react-navigation/react-navigation/issues/4502","id":332021777,"node_id":"MDU6SXNzdWUzMzIwMjE3Nzc=","number":4502,"title":"The navOption headerLeft doesn't render components","user":{"login":"xanderberkein","id":10937632,"node_id":"MDQ6VXNlcjEwOTM3NjMy","avatar_url":"https://avatars1.githubusercontent.com/u/10937632?v=4","gravatar_id":"","url":"https://api.github.com/users/xanderberkein","html_url":"https://github.com/xanderberkein","followers_url":"https://api.github.com/users/xanderberkein/followers","following_url":"https://api.github.com/users/xanderberkein/following{/other_user}","gists_url":"https://api.github.com/users/xanderberkein/gists{/gist_id}","starred_url":"https://api.github.com/users/xanderberkein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xanderberkein/subscriptions","organizations_url":"https://api.github.com/users/xanderberkein/orgs","repos_url":"https://api.github.com/users/xanderberkein/repos","events_url":"https://api.github.com/users/xanderberkein/events{/privacy}","received_events_url":"https://api.github.com/users/xanderberkein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-13T14:30:43Z","updated_at":"2018-06-13T14:30:43Z","closed_at":null,"author_association":"NONE","body":"### Current Behavior\r\n\r\nWhen trying to use a Component to render the `headerLeft` of a StackNavigator, nothing happens:\r\n\r\n```\r\nconst Hamburger = () => <Text>text</Text>\r\n\r\nstatic navigationOptions = {\r\n  headerLeft: Hamburger,\r\n}\r\n```\r\n\r\nThe documentation mentions you get access to a number of props when using a Component, but the Component doesn't get rendered at all.\r\n\r\n### Expected Behavior\r\n\r\nI expect the component to get rendered (because the docs say it should)\r\n\r\n### How to reproduce\r\n\r\nhttps://reactnavigation.org/docs/en/stack-navigator.html#headerleft\r\n\r\nThe header renders as a React Element, but not as a Component\r\n\r\n### Your Environment\r\n\r\n| software         | version\r\n| ---------------- | -------\r\n| react-navigation | 2.3.1\r\n"}}
{"actor":{"display_login":"xanderberkein"}}