From b9cf5d82735e830180594728849631a082f02826 Mon Sep 17 00:00:00 2001 From: Christopher Banh Date: Wed, 12 Jan 2022 18:20:31 -0800 Subject: [PATCH] Updates type declaration for RouteProps in API docs (#8576) --- contributors.yml | 1 + docs/api.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contributors.yml b/contributors.yml index 70d633a861..acd33809f3 100644 --- a/contributors.yml +++ b/contributors.yml @@ -1,6 +1,7 @@ - Ajayff4 - brockross - chaance +- chrisngobanh - elylucas - hongji00 - JakubDrozd diff --git a/docs/api.md b/docs/api.md index 056850b49c..547814998c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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; }