@theeventdiscoverycompany/react-stripe-checkout
Advanced tools
Comparing version 2.6.3 to 2.6.4
{ | ||
"name": "@theeventdiscoverycompany/react-stripe-checkout", | ||
"version": "2.6.3", | ||
"version": "2.6.4", | ||
"description": "Easily inject checkout.js as a react component. Will load the script on demand and supports all the options from stripe docs.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main.js", |
@@ -46,3 +46,4 @@ import React from 'react'; | ||
// Named component to wrap button (eg. div) | ||
ComponentClass: PropTypes.string, | ||
// Or a component itself | ||
ComponentClass: PropTypes.oneOfType(PropTypes.string, PropTypes.element), | ||
@@ -49,0 +50,0 @@ // Show a loading indicator |
51151
10
1067