Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix React 18 FunctionalComponent bug #115

Merged
merged 1 commit into from
Apr 8, 2022
Merged

Fix React 18 FunctionalComponent bug #115

merged 1 commit into from
Apr 8, 2022

Conversation

NuroDev
Copy link
Contributor

@NuroDev NuroDev commented Apr 8, 2022

What's been changed

  • Wrapped WizardProps in Wizard.tsx with React.PropsWithChildren

Why is this needed?

One recent change in React 18 has been an update to the FunctionComponent or FC types as they have had the optional children property removed (Source).

@devrnt
Copy link
Owner

devrnt commented Apr 8, 2022

Thanks! I bumped against the same issue in another project

@devrnt
Copy link
Owner

devrnt commented Apr 8, 2022

v2.1.3

@NuroDev NuroDev deleted the patch-1 branch April 12, 2022 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants