medipass / react-payment-inputs

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

Can't use without adding styled-components #77

Open mgomezg opened 2 years ago

mgomezg commented 2 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 11 months 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.