Skip to content

Instantly share code, notes, and snippets.

@heymartinadams
Last active March 8, 2017 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heymartinadams/8c3c15a6ca7b6b02ad15356da8ef02c8 to your computer and use it in GitHub Desktop.
Save heymartinadams/8c3c15a6ca7b6b02ad15356da8ef02c8 to your computer and use it in GitHub Desktop.
Stripe.propTypes = {
createCard: React.PropTypes.func.isRequired,
createPurchase: React.PropTypes.func.isRequired,
upgradeApp: React.PropTypes.func.isRequired,
data: React.PropTypes.object.isRequired
}
export default
graphql(signinUser, { name: 'signinUser' })(
graphql(createCard, { name: 'createCard' })(
graphql(createPurchase, { name: 'createPurchase' })(
graphql(upgradeApp, { name: 'upgradeApp' })(
graphql(userQuery)(Stripe)
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment