Where did this parameter come from?

for example, this code in react-router4

const oddEvent = (match, location) => {
  if (!match) {
    return false
  }
  const eventID = parseInt(match.params.eventID)
  return !isNaN(eventID) && eventID % 2 === 1
}

<NavLink
  to="/events/123"
  isActive={oddEvent}
>Event 123</NavLink>

Why can I get this match, and location? There are no parameters for isActive= {oddEvent} here?


here is definition and incoming calls in NavLink components

Menu