Skip to content

Commit

Permalink
Updates type declaration for RouteProps in API docs (#8576)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisngobanh committed Jan 13, 2022
1 parent 876bdf4 commit b9cf5d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
@@ -1,6 +1,7 @@
- Ajayff4
- brockross
- chaance
- chrisngobanh
- elylucas
- hongji00
- JakubDrozd
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -691,7 +691,7 @@ declare function Route(
interface RouteProps {
caseSensitive?: boolean;
children?: React.ReactNode;
element?: React.ReactElement | null;
element?: React.ReactNode | null;
index?: boolean;
path?: string;
}
Expand Down

0 comments on commit b9cf5d8

Please sign in to comment.