Skip to content

Commit

Permalink
feat: expose routes in IRouteComponentProps (#6013)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc authored Jan 17, 2021
1 parent dfe5717 commit 645fac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/renderer-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface IRouteComponentProps<
children: JSX.Element;
location: Location & { query: Query };
route: IRoute;
routes: IRoute[];
history: History;
match: match<Params>;
}
Expand Down

0 comments on commit 645fac7

Please sign in to comment.