{"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":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-06T12:17:33Z","updated_at":"2016-05-06T19:09:26Z","closed_at":null,"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/217532554","html_url":"https://github.com/aksonov/react-native-router-flux/issues/647#issuecomment-217532554","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/647","id":217532554,"user":{"login":"MovingGifts","id":1202909,"avatar_url":"https://avatars.githubusercontent.com/u/1202909?v=3","gravatar_id":"","url":"https://api.github.com/users/MovingGifts","html_url":"https://github.com/MovingGifts","followers_url":"https://api.github.com/users/MovingGifts/followers","following_url":"https://api.github.com/users/MovingGifts/following{/other_user}","gists_url":"https://api.github.com/users/MovingGifts/gists{/gist_id}","starred_url":"https://api.github.com/users/MovingGifts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MovingGifts/subscriptions","organizations_url":"https://api.github.com/users/MovingGifts/orgs","repos_url":"https://api.github.com/users/MovingGifts/repos","events_url":"https://api.github.com/users/MovingGifts/events{/privacy}","received_events_url":"https://api.github.com/users/MovingGifts/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T19:09:25Z","updated_at":"2016-05-06T19:09:25Z","body":"@andpor I think you have to use a custom navbar for those buttons, and have that navbar in the component. I honestly am not sure how as I am trying to figure that same thing out and this plugin seems very powerful, useful, and time saving, but the documentation lacks and I don't know enough to contribute as a beginner.. If you're able to get it to work, please let us know how!"}}