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

Can't use without adding styled-components #77

Open
mgomezg opened this issue Sep 20, 2021 · 5 comments
Open

Can't use without adding styled-components #77

mgomezg opened this issue Sep 20, 2021 · 5 comments

Comments

@mgomezg
Copy link

mgomezg commented Sep 20, 2021

Even though I am using only usePaymentInputs, I can't seem to use it without needing to install styled-components.

Module not found: Can't resolve 'styled-components' in 'node_modules/react-payment-inputs/es'

isn't styled components only necessary if using PaymentInputsWrapper?

@lucasriondel
Copy link

Same issue here.

@backas36
Copy link

I have same issue.

@simon-online
Copy link

Same issue. Disappointing that an unnecessary package needs to be installed just to use this.

@simon-online
Copy link

It wouldn't take much to fix. In the end I just had to fork the code, make some small changes and then manually build my own package.

@blindibrasil
Copy link

It looks like the code is abandoned. Such a simple change was requested by several people and none of the developers said it was necessary to create a fork to solve it in an alternative way.

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

5 participants