medipass / react-payment-inputs

A React Hook & Container to help with payment card input fields.
https://medipass.github.io/react-payment-inputs
401 stars 63 forks source link

Can't use without adding styled-components #77

Open mgomezg opened 3 years ago

mgomezg commented 3 years ago

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 commented 2 years ago

Same issue here.

backas36 commented 1 year ago

I have same issue.

simon-online commented 1 year ago

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

simon-online commented 1 year ago

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 commented 1 year ago

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.