Skip to content

Shehan-lakshitha/rn_credit_card_flip

Repository files navigation

rn_credit_card_flip

A react native package to enter the users credit card details with the flip animation to enter rear details.

Get Started

Install react reanimated package

npm i react-native-reanimated`
# or if you're using yarn :
yarn i react-native-reanimated`

Install the package by

npm i rn_credit_card_flip
# or if you're using yarn : 
yarn i rn_credti_card_flip

Usage :

import CreditCard from "rn_credit_card_flip";

export default function Example(){
    return (
        <CreditCard/>
    )
}

You can also directly use the code for more dynamic changes and approches.

Demonstrations

rn_card.mp4

Contributions

All contributions are kindly welcomed.