medipass/react-payment-inputs

Can't use without adding styled-components

Opened this issue · 5 comments

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?

Same issue here.

I have same issue.

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

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.

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.