withNavigator
A helper High-Order-Component to simplify navigation
Import
import {withNavigator} from 'react-animated-navigator';
export default withNavigator(YourComponent)
Props
go
- See useNavigator's return go
history
- See useNavigator's return history
location
- See useNavigator's return location