react-navigation-header-buttons
react-navigation-header-buttons copied to clipboard
Double margin on iOS/android when used with @react-navigation/native-stack
It appears that the only platform not getting margins for free is web.
Running into this as well. Any workarounds?
@cmaycumber this is how I got around it: https://gist.github.com/yangm97/d629025e0a40254f94bfffed22a55dc3
Didn't send a PR because it also removes margins/paddings when used with the non native stack navigator and I'm not sure if/how we could detect which navigator is in use automatically.