Skip to content

Updates type declaration for RouteProps in API docs#8576

Merged
timdorr merged 2 commits intoremix-run:devfrom
banhathome:dev
Jan 13, 2022
Merged

Updates type declaration for RouteProps in API docs#8576
timdorr merged 2 commits intoremix-run:devfrom
banhathome:dev

Conversation

@banhathome
Copy link
Contributor

Changes RouteProps.element type in API docs from React.ReactElement | null to React.ReactNode | null.

The code change being documented was done in #8473

@remix-cla-bot
Copy link
Contributor

remix-cla-bot bot commented Jan 13, 2022

Hi @chrisngobanh,

Welcome, and thank you for contributing to React Router!

Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once.

You may review the CLA and sign it by adding your name to contributors.yml.

Once the CLA is signed, the CLA Signed label will be added to the pull request.

If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at [email protected].

Thanks!

- The Remix team

@remix-cla-bot
Copy link
Contributor

remix-cla-bot bot commented Jan 13, 2022

Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳

@timdorr
Copy link
Member

timdorr commented Jan 13, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants