react-navigation-is-focused-hoc icon indicating copy to clipboard operation
react-navigation-is-focused-hoc copied to clipboard

implement prevRouteName

Open jkylehumphrey opened this issue 7 years ago • 1 comments

I had a need to know the name of the previous route when my component is focused, so I implemented a third property to handle that.

jkylehumphrey avatar Jan 26 '18 17:01 jkylehumphrey

I've also included a typings file for Typescript that I created.

jkylehumphrey avatar Jan 26 '18 18:01 jkylehumphrey