stripe / stripe-js

Loading wrapper for Stripe.js
https://stripe.com/docs/js
MIT License
633 stars 156 forks source link

Extend ButtonThemeOption type #617

Closed mrsnow070 closed 5 months ago

mrsnow070 commented 5 months ago

Type extention according to documentation

Summary & motivation

Extended the type definitions for ExpressCheckoutElement to include paypal inside the buttonTheme options as per the latest Stripe documentation.

Testing & documentation

Manually tested the changes by implementing them in the project and verifying the functionality. Updated relevant type definitions and ensured compatibility with existing code.

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.

awalker-stripe commented 5 months ago

Closing in favor of #620 which has a quick linting fix