Indicates if the link's URL matches the current Location.
Indicates if the pending Location matches the link's URL. Only available in Framework/Data modes.
Indicates if a view transition to the link's URL is in progress. See useViewTransitionState
Only tracks React Router's deprecated view transitions. Use
React's <ViewTransition> component to style transitions instead. See the
migration guide.
The object passed to NavLink
children,className, andstyleprop callbacks to render and style the link based on its state.