amaroteam / react-credit-cards

Beautiful credit cards for your payment forms
https://ovvwzkzry9.codesandbox.io/
MIT License
2.58k stars 300 forks source link

replace SCSS/CSS files to a more portable approach #21

Open gilbarbara opened 6 years ago

gilbarbara commented 6 years ago

One option is nano-css but I'll search for newer options anyway

cassiocardoso commented 6 years ago

without any libs? 🤔

efehelvaci commented 6 years ago

If the project is created with create-react-app, it's not possible to use without ejecting.

gilbarbara commented 6 years ago

@efeconirulez You can import the css file.

import 'react-credit-cards/es/styles-compiled.css';

I've just added that to the README.

gilbarbara commented 6 years ago

@cassiocardoso yeah, any thoughts? 🤓