This directory contains the React and Typescript implementation of Airwallex Payment Element.
- node.js
npm
oryarn
package manager
- Clone the root airwallex-payment-demo project to your local machine
git clone https://github.com/airwallex/airwallex-payment-demo
-
Navigate into the react directory with
cd integrations/react-ts
-
Install the package with
yarn
ornpm install
-
Run the project in development mode with
npm start
oryarn start
. See the project at localhost:3000
Each of the payment methods are written as a separate component found in the /src/components folder.
Olivia Wei, Josie Ku and Yifan Leng