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

styled-components withConfig not supported #4068

Open
FezVrasta opened this issue Apr 30, 2021 · 0 comments
Open

styled-components withConfig not supported #4068

FezVrasta opened this issue Apr 30, 2021 · 0 comments

Comments

@FezVrasta
Copy link
Contributor

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

styled-components types don't support .withConfig.

https://styled-components.com/docs/api#shouldforwardprop

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

I should be able to call styled.div.withConfig({ shouldForwardProps: props => props })({ color: 'red' })

If this is a feature request, what is motivation or use case for changing the behavior?

Local Environment Information
If this issue is specific to the CLI, provide the results of running npx envinfo from the command line in a GitHub gist.

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

No branches or pull requests

1 participant