https://github.com/wangdicoder/react-afterpay-checkout
React Afterpay Checkout Button
https://github.com/wangdicoder/react-afterpay-checkout
afterpay checkout
Last synced: 9 months ago
JSON representation
React Afterpay Checkout Button
- Host: GitHub
- URL: https://github.com/wangdicoder/react-afterpay-checkout
- Owner: wangdicoder
- License: mit
- Created: 2020-10-20T12:50:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T13:00:36.000Z (over 5 years ago)
- Last Synced: 2025-02-16T19:17:13.836Z (12 months ago)
- Topics: afterpay, checkout
- Language: TypeScript
- Homepage: https://wangdicoder.github.io/react-afterpay-checkout/
- Size: 6.41 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Afterpay Checkout
[](https://www.npmjs.com/package/react-afterpay-checkout)
[](https://www.npmjs.com/package/react-afterpay-checkout)
[](https://github.com/wangdicoder/react-afterpay-checkout/blob/master/LICENSE)
A React button component wrapping [Afterpay.js](https://developers.afterpay.com/afterpay-online/reference#javascript-afterpayjs) to provide a checkout utility.
## 📦 Install
```bash
npm install react-afterpay-checkout
```
or
```bash
yarn add react-afterpay-checkout
```
## 🔨 Usage
```jsx
import CheckoutButton from 'react-afterpay-checkout';
const App = () => (
<>
Shop now with
>
);
```
## ⌨️ Development
Clone it locally
```bash
$ git clone git@github.com:wangdicoder/react-afterpay-checkout.git
$ cd react-afterpay-checkout
$ npm install
$ npm run dev
```
## 📄 License
MIT