It fixes a bug(?) where the navIconName was always set to menu, now it defaults to menu.
The issue I can't figure out though is the onPress function is never triggered. I've tried to trace it back to the Ripple component, it looks like onPress is never getting triggered on that component. When adding it, it complains the proptype passed down from IconButton is not a function!
@binggg Proof of concept at the moment as I'm having an issue, which I'll explain.
This PR allows you to do the following:
Which results in:
navIconName
was always set tomenu
, now it defaults to menu.The issue I can't figure out though is the
onPress
function is never triggered. I've tried to trace it back to theRipple
component, it looks likeonPress
is never getting triggered on that component. When adding it, it complains the proptype passed down from IconButton is not a function!Let me know what you think anyway.