# Function 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.

  #### Returns NavigationType

  #### See

  https://reactrouter.com/hooks/use-navigation-type

  - Defined in common/temp/node_modules/.pnpm/react-router@6.23.1_react@18.3.1/node_modules/react-router/dist/lib/hooks.d.ts:37