Giter Site home page Giter Site logo

sonnylazuardi / react-native-credit-card Goto Github PK

View Code? Open in Web Editor NEW
382.0 14.0 77.0 1.47 MB

:credit_card: React native credit card display component

Home Page: https://exp.host/@sonnylazuardi/react-native-credit-card-demos

License: MIT License

JavaScript 100.00%

react-native-credit-card's People

Contributors

cvt3894 avatar jmpridgen avatar sbycrosz avatar sonnylazuardi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-credit-card's Issues

Is `VALID THRU` really necessary?

The extra space used by VALID THRU often causes the card holder name to be displayed in two lines. This don't match what is printed in the actual card.

Given that the current design already have a self explanatory text Month\Year I recommend removing the valid thru text.

Nothing is showing

I tried to use it like this:

<CreditCard
style={{
marginVertical: 10,
marginHorizontal: 10,
marginBottom: 0,
elevation: 3,
alignSelf: "center"
}}
type={this.state.type}
imageFront={require("./images/card-front.png")}
imageBack={require("./images/card-back.png")}
shiny={true}
bar={false}
focused={this.state.focused}
number={this.state.number}
name={this.state.name}
expiry={this.state.expiry}
cvc={this.state.cvc}
/>

But nothing is showing.

Update NPM

Hi there,

I installed normally using yarn and noticed that the npm package is outdated. By specifically using the github repository works fine.

It would be good to update the npm version to the latest.

Cannnot change card labels

I'm unable to change/remove the card labels such as "FULL NAME", "MONTH/YEAR", even if I try to use a frontImage the text will still be displayed

Please, share sample your app

Hi @sonnylazuardi,

I would like to play with your library, can you please share your sample implementation (as shown in the gif on your README)? It would come highly in handy, nice work by the way.

Thanks

Update expo version

Found this, after click on description's link:
Could u update expo version to 23+ ?
image

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.