@google-pay/save-button-react
v1.0.0
Published
React component for Google Pay button
Downloads
762
Maintainers
Readme
Save to Google Pay React button
This is the React component for the Save to Google Pay button.
Installation
npm install @google-pay/save-button-react
Example usage
<SaveToGooglePay jwt="eyJhbGci...7_eD2kT3_IuHxw" height="standard" textsize="large" />
A React example can be found in the examples folder of this repository.
Documentation
Properties
Callbacks
Visit the Google Pay API for Passes for Web API Reference for more information about integrating the different button properties.
About this package
Note that this folder does not contain a package.json
file. The package.json
file is generated during the build
process using the package-template.json
where the version number is read from the package.json
file defined in the root of this repository.