Naughty Programmer's Madness

    react-afterpay-checkout
    TypeScript icon, indicating that this package has built-in type declarations

    0.7.0 • Public • Published

    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

    Install

    npm i react-afterpay-checkout

    DownloadsWeekly Downloads

    7

    Version

    0.7.0

    License

    MIT

    Unpacked Size

    28.9 kB

    Total Files

    23

    Last publish

    Collaborators

    • wangdicoder