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
Having to explicitly set the 'children' prop for EVERY component? #4264
Comments
can you paste an example? |
Here is my JSX...
and i get the error |
What version of styled component? I had similar issue in a project when I upgraded to react 18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I use Styled Components all over my app, nested inside of each other many levels deep. I just upgraded to React 18 and now I have 200+ error messages saying I need to explicitly define the
children
prop for every single styled component that has a child. That seems utterly ridiculous and time-consuming. Is there an easy to way to get past this issue?The text was updated successfully, but these errors were encountered: