An open API service indexing awesome lists of open source software.

https://github.com/danihre/react-pay-card

Card Bank made with React + Typescript + Scss.
https://github.com/danihre/react-pay-card

bank card component javascript payment react typescript

Last synced: 6 months ago
JSON representation

Card Bank made with React + Typescript + Scss.

Awesome Lists containing this project

README

          

## Demo

To see demonstration site: https://danihre.github.io/react-pay-card

## How To Use

To clone and run this application, you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line:

```bash
# Clone this repository
$ npm i react-pay-card

# Install dependencies
$ npm install

# Run the app
$ npm start
```




CARD COMPONENT




React-Pay-Card


```js
import chip from './images/chipIcon.svg';
import brand from './images/brandIcon.svg';
import background from './images/background.png';

```




FORM COMPONENT




React-Pay-Card

```js
import { SimpleFormCard } from 'react-pay-card';

```

OBS: Simple Form Card don't have props now. i'll fix it later.

## Props

| Props | Example | Description |
|--------------|---------------------|----------------|
|cardHolder | JOHN DOE | Owner Name |
|cardNumber | 0000 0000 0000 0000 | Number |
|cardMonth | 10 | Month Expire |
|cardYear | 2022 | Year Expire |
|cardCVV | 000 | CVV Number |
|cardIcon | SVG File | Icon |
|brandIcon | SVG File | Brand Icon |
|backgroundIcon| PNG File | BackgroundImage|

## Download

You can [download](https://www.npmjs.com/package/react-pay-card) the latest release package.

## Related

[Danihre](https://github.com/danihre/danihre) - README Personal Profile

## You may also like...

- [JS-Nds](https://github.com/danihre/js-nds) - Nintendo DS Emulator 🎮
- [JSDoom](https://github.com/danihre/jsdoom) - A Playable doom game in js with dosbox api.

## Credits

This software uses the following open source packages:

- [React-Transition Group](http://showdownjs.github.io/showdown/)
- [React](https://github.com/marketplace)
- [Typescript](https://github.com/Microsoft/TypeScript)
- [Sass](https://github.com/sass/dart-sass)

## Repo Activity

![Alt](https://repobeats.axiom.co/api/embed/3680c06ae0d1cee8c751661d200706f4345dd668.svg "Repobeats analytics image")

---

> GitHub [@danihre](https://github.com/Danihre)  · 
> Instagram [@dani_rod05](https://instagram.com/dani_rod05)