{"action":"created","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/647","repository_url":"https://api.github.com/repos/aksonov/react-native-router-flux","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/647/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/647/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/647","id":153439230,"number":647,"title":"Ability to provide the left/right navbar buttons from the rendered component","user":{"login":"andpor","id":10236571,"avatar_url":"https://avatars.githubusercontent.com/u/10236571?v=3","gravatar_id":"","url":"https://api.github.com/users/andpor","html_url":"https://github.com/andpor","followers_url":"https://api.github.com/users/andpor/followers","following_url":"https://api.github.com/users/andpor/following{/other_user}","gists_url":"https://api.github.com/users/andpor/gists{/gist_id}","starred_url":"https://api.github.com/users/andpor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andpor/subscriptions","organizations_url":"https://api.github.com/users/andpor/orgs","repos_url":"https://api.github.com/users/andpor/repos","events_url":"https://api.github.com/users/andpor/events{/privacy}","received_events_url":"https://api.github.com/users/andpor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-05-06T12:17:33Z","updated_at":"2016-07-13T16:49:16Z","closed_at":"2016-05-10T08:21:43Z","body":"The current set up of the buttons is not ideal. They have to be declared and hooked up to action callback at the global level. When customisation is needed at the component level i.e. component needs to hide or show the button or enable/disable it depending on its own state things get impossible to manage with the current setup. The component cannot register a local callback on the button press either.\r\n\r\nMaybe there could be a way to provide a custom navbar renderer?\r\n\r\nOr am I missing something and this is already feasible ?\r\n\r\nThank you ."},"comment":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/comments/232416100","html_url":"https://github.com/aksonov/react-native-router-flux/issues/647#issuecomment-232416100","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/647","id":232416100,"user":{"login":"jeremyong","id":250149,"avatar_url":"https://avatars.githubusercontent.com/u/250149?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyong","html_url":"https://github.com/jeremyong","followers_url":"https://api.github.com/users/jeremyong/followers","following_url":"https://api.github.com/users/jeremyong/following{/other_user}","gists_url":"https://api.github.com/users/jeremyong/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyong/subscriptions","organizations_url":"https://api.github.com/users/jeremyong/orgs","repos_url":"https://api.github.com/users/jeremyong/repos","events_url":"https://api.github.com/users/jeremyong/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyong/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T16:49:16Z","updated_at":"2016-07-13T16:49:16Z","body":"How do non static props get passed to a static method... this issue really shouldn't be closed. Components that want to modify navigation buttons are forced to reset the bar after being mounted."}}
{"actor":{"display_login":"jeremyong"}}