0.7.0 • Published 4 years ago

react-afterpay-checkout v0.7.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

React Afterpay Checkout

npm npm GitHub

A React button component wrapping Afterpay.js to provide a checkout utility.

📦 Install

npm install react-afterpay-checkout

or

yarn add react-afterpay-checkout

🔨 Usage

import CheckoutButton from 'react-afterpay-checkout';

const App = () => (
  <>
    <CheckoutButton token="123" countryCode="AU">Shop now with</CheckoutButton>
  </>
);

⌨️ Development

Clone it locally

$ git clone git@github.com:wangdicoder/react-afterpay-checkout.git
$ cd react-afterpay-checkout
$ npm install
$ npm run dev

📄 License

MIT

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.3.0

4 years ago

0.4.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago