Skip to main content

useNavigationType

useNavigationType(): NavigationType

Returns the current navigation action which describes how the router came to
the current location, either by a pop, push, or replace on the history stack.

Properties

This element is often used without passing props