preactjs / preact-router

:earth_americas: URL router for Preact.

Home Page:http://npm.im/preact-router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type of object in Match function?

mellis481 opened this issue · comments

The documentation gives the following example for Match:

<Match path="/">
  { ({ matches, path, url }) => (
    <pre>{url}</pre>
  ) }
</Match>

Where is the type definition for the object that has the matches, path, and url properties? I can't see to find it.