{"action":"created","issue":{"url":"https://api.github.com/repos/exponentjs/ex-navigator/issues/99","repository_url":"https://api.github.com/repos/exponentjs/ex-navigator","labels_url":"https://api.github.com/repos/exponentjs/ex-navigator/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/exponentjs/ex-navigator/issues/99/comments","events_url":"https://api.github.com/repos/exponentjs/ex-navigator/issues/99/events","html_url":"https://github.com/exponentjs/ex-navigator/issues/99","id":136109906,"number":99,"title":"renderRightButton README example doesn't work.","user":{"login":"joshuapinter","id":180819,"avatar_url":"https://avatars.githubusercontent.com/u/180819?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuapinter","html_url":"https://github.com/joshuapinter","followers_url":"https://api.github.com/users/joshuapinter/followers","following_url":"https://api.github.com/users/joshuapinter/following{/other_user}","gists_url":"https://api.github.com/users/joshuapinter/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuapinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuapinter/subscriptions","organizations_url":"https://api.github.com/users/joshuapinter/orgs","repos_url":"https://api.github.com/users/joshuapinter/repos","events_url":"https://api.github.com/users/joshuapinter/events{/privacy}","received_events_url":"https://api.github.com/users/joshuapinter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T16:23:06Z","updated_at":"2016-02-24T21:14:17Z","closed_at":null,"body":"```javascript\r\nrenderRightButton() {\r\n        return (\r\n          <Button onPress={() => { console.log('Tapped right button'); }}>\r\n            Log\r\n          </Button>\r\n        );\r\n      },\r\n```\r\n\r\nThis generates an error: \r\n\r\n> Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `NavigatorNavigationBar`."},"comment":{"url":"https://api.github.com/repos/exponentjs/ex-navigator/issues/comments/188455112","html_url":"https://github.com/exponentjs/ex-navigator/issues/99#issuecomment-188455112","issue_url":"https://api.github.com/repos/exponentjs/ex-navigator/issues/99","id":188455112,"user":{"login":"ide","id":379606,"avatar_url":"https://avatars.githubusercontent.com/u/379606?v=3","gravatar_id":"","url":"https://api.github.com/users/ide","html_url":"https://github.com/ide","followers_url":"https://api.github.com/users/ide/followers","following_url":"https://api.github.com/users/ide/following{/other_user}","gists_url":"https://api.github.com/users/ide/gists{/gist_id}","starred_url":"https://api.github.com/users/ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ide/subscriptions","organizations_url":"https://api.github.com/users/ide/orgs","repos_url":"https://api.github.com/users/ide/repos","events_url":"https://api.github.com/users/ide/events{/privacy}","received_events_url":"https://api.github.com/users/ide/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T21:14:17Z","updated_at":"2016-02-24T21:14:17Z","body":"I think this is because you need to define the Button component. You can render whatever view you want."}}