1.0.2 • Published 5 years ago

@wapps/react-stripe-checkout v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

react-stripe-checkout

Build Status

React stripe checkout compoment

Installation

npm install @wapps/react-stripe-checkout

How to use

import React from 'react';
import StripeCheckout from '@wapps/react-stripe-checkout';

const App = () => (
  <StripeCheckout apiKey={YOUR_STRIPE_KEY} token={token => console.log(token)}>
    <button>Purchase</button>
  </StripeCheckout>
);

export default App;

Live Demo

For a demo, check out https://hupe1980.github.io/wapps-components/

License

MIT

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago