React navigation has a well documented setOptions
. https://reactnavigation.org/docs/navigation-prop
However I can't seem to find any method to retrieve the current options for the active navigator. Am I missing something? Or is there a reason why it may be private?
In particular I'm interested in getting the drawerType
option out of Drawer navigator.