paypal / paypal-js

Loading wrapper and TypeScript types for the PayPal JS SDK
Apache License 2.0
238 stars 83 forks source link

Add missing button border radius type #539

Closed johndjameson closed 3 months ago

johndjameson commented 4 months ago

Using the latest v8.5.0 version of the @paypal/react-paypal-js package, the style object for <PayPalButtons> doesn’t include a typed field for the borderRadius option listed in the button’s SDK documentation.

This PR adds PayPalButtonsComponentOptions.style.borderRadius with the documented number type.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 0f9c2696941b342565ec4f4b337e0e18edee27cc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ----------------------- | ----- | | @paypal/paypal-js | Patch | | @paypal/react-paypal-js | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR