diff --git a/.changeset/three-pugs-chew.md b/.changeset/three-pugs-chew.md new file mode 100644 index 00000000..a231d32c --- /dev/null +++ b/.changeset/three-pugs-chew.md @@ -0,0 +1,5 @@ +--- +"@paypal/paypal-js": patch +--- + +add missing field to PayPalButtonStyle type diff --git a/packages/paypal-js/types/components/buttons.d.ts b/packages/paypal-js/types/components/buttons.d.ts index 95bf78db..45185688 100644 --- a/packages/paypal-js/types/components/buttons.d.ts +++ b/packages/paypal-js/types/components/buttons.d.ts @@ -258,6 +258,7 @@ export type PayPalButtonStyle = { borderRadius?: number; color?: "gold" | "blue" | "silver" | "white" | "black"; disableMaxWidth?: boolean; + disableMaxHeight?: boolean; height?: number; label?: | "paypal"