Last active
October 24, 2017 10:21
-
-
Save jankalfus/ccb0d0b4023cb6ab3b4aee4e49f4590b to your computer and use it in GitHub Desktop.
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BTW
isDrawerOpenis a simple function, which extracts info fromnavand returns a boolean:const isDrawerOpen = (nav) => nav.routes[0].index === 1Note that the path might be different for you, based on the way you hooked up your navigators.