├── .eslintrc.js ├── .expo-shared └── assets.json ├── .gitignore ├── .npmignore ├── .prettierrc.js ├── LICENCE ├── README.md ├── assets ├── card-form-first-low.gif ├── card-form-second-low.gif └── demo.gif ├── babel.config.js ├── example ├── App.tsx ├── app.json ├── babel.config.js ├── package.json ├── tsconfig.json └── yarn.lock ├── package.json ├── src ├── LibraryContext.ts ├── assets │ ├── background.png │ ├── mastercard.png │ └── tape.png ├── components │ ├── Button.tsx │ ├── Card │ │ ├── BackSide.tsx │ │ ├── FrontSide.tsx │ │ ├── PlaceholderText.tsx │ │ └── index.tsx │ ├── CardIcon │ │ ├── icons │ │ │ ├── amex.png │ │ │ ├── discover.png │ │ │ ├── mastercard.png │ │ │ └── visa.png │ │ ├── index.tsx │ │ └── lottie │ │ │ ├── amex.json │ │ │ ├── amexBlue.json │ │ │ ├── discover.json │ │ │ ├── mastercard.json │ │ │ └── visa.json │ ├── Conditional.tsx │ ├── CreditCardForm.test.tsx │ ├── CreditCardForm.tsx │ ├── FormCard.tsx │ ├── FormTextField.tsx │ ├── Text.tsx │ └── TextField.tsx ├── index.ts ├── types.ts └── utils │ ├── formatters.test.ts │ ├── formatters.ts │ └── translations.ts ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.expo-shared/assets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/.expo-shared/assets.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | assets 2 | example 3 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/LICENCE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/README.md -------------------------------------------------------------------------------- /assets/card-form-first-low.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/assets/card-form-first-low.gif -------------------------------------------------------------------------------- /assets/card-form-second-low.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/assets/card-form-second-low.gif -------------------------------------------------------------------------------- /assets/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/assets/demo.gif -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/babel.config.js -------------------------------------------------------------------------------- /example/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/example/App.tsx -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/example/app.json -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/example/package.json -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/package.json -------------------------------------------------------------------------------- /src/LibraryContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/LibraryContext.ts -------------------------------------------------------------------------------- /src/assets/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/assets/background.png -------------------------------------------------------------------------------- /src/assets/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/assets/mastercard.png -------------------------------------------------------------------------------- /src/assets/tape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/assets/tape.png -------------------------------------------------------------------------------- /src/components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/Button.tsx -------------------------------------------------------------------------------- /src/components/Card/BackSide.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/Card/BackSide.tsx -------------------------------------------------------------------------------- /src/components/Card/FrontSide.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/Card/FrontSide.tsx -------------------------------------------------------------------------------- /src/components/Card/PlaceholderText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/Card/PlaceholderText.tsx -------------------------------------------------------------------------------- /src/components/Card/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/Card/index.tsx -------------------------------------------------------------------------------- /src/components/CardIcon/icons/amex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/icons/amex.png -------------------------------------------------------------------------------- /src/components/CardIcon/icons/discover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/icons/discover.png -------------------------------------------------------------------------------- /src/components/CardIcon/icons/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/icons/mastercard.png -------------------------------------------------------------------------------- /src/components/CardIcon/icons/visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/icons/visa.png -------------------------------------------------------------------------------- /src/components/CardIcon/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/index.tsx -------------------------------------------------------------------------------- /src/components/CardIcon/lottie/amex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/lottie/amex.json -------------------------------------------------------------------------------- /src/components/CardIcon/lottie/amexBlue.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/lottie/amexBlue.json -------------------------------------------------------------------------------- /src/components/CardIcon/lottie/discover.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/lottie/discover.json -------------------------------------------------------------------------------- /src/components/CardIcon/lottie/mastercard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/lottie/mastercard.json -------------------------------------------------------------------------------- /src/components/CardIcon/lottie/visa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CardIcon/lottie/visa.json -------------------------------------------------------------------------------- /src/components/Conditional.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/Conditional.tsx -------------------------------------------------------------------------------- /src/components/CreditCardForm.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CreditCardForm.test.tsx -------------------------------------------------------------------------------- /src/components/CreditCardForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/CreditCardForm.tsx -------------------------------------------------------------------------------- /src/components/FormCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/FormCard.tsx -------------------------------------------------------------------------------- /src/components/FormTextField.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/FormTextField.tsx -------------------------------------------------------------------------------- /src/components/Text.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/Text.tsx -------------------------------------------------------------------------------- /src/components/TextField.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/components/TextField.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/formatters.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/utils/formatters.test.ts -------------------------------------------------------------------------------- /src/utils/formatters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/utils/formatters.ts -------------------------------------------------------------------------------- /src/utils/translations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/src/utils/translations.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/halilb/rn-credit-card/HEAD/yarn.lock --------------------------------------------------------------------------------