Coder Social home page Coder Social logo

Comments (3)

raptoria avatar raptoria commented on August 20, 2024 3

It would also be really handy to have typescript declarations all around. I was scratching my head for quite a while when I added a style to inputStyles that wasn't "allowed" and it failed silently (if you add one non-allowed style, all the styles fail).

from react-square-payment-form.

znwhite avatar znwhite commented on August 20, 2024 3

For anyone viewing this issue looking for help - don't import the css file the way the package tells you to:

import 'react-square-payment-form/lib/default.css'

Instead, just copy and paste the css file directly into your codebase like a true gangster and import that file instead. You then have all the styles locally and can edit them to update the styling of the form.

from react-square-payment-form.

jeevanpillay avatar jeevanpillay commented on August 20, 2024 1

For anyone viewing this issue looking for help - don't import the css file the way the package tells you to:

import 'react-square-payment-form/lib/default.css'

Instead, just copy and paste the css file directly into your codebase like a true gangster and import that file instead. You then have all the styles locally and can edit them to update the styling of the form.

This x100. Thank you :)

from react-square-payment-form.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.