diff --git a/.changeset/little-suits-camp.md b/.changeset/little-suits-camp.md new file mode 100644 index 00000000..7c1b1ecc --- /dev/null +++ b/.changeset/little-suits-camp.md @@ -0,0 +1,5 @@ +--- +"@paypal/react-paypal-js": major +--- + +added missing style fields to CardField Types diff --git a/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts b/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts index 1ba5d5d5..91b00613 100644 --- a/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts +++ b/packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts @@ -35,6 +35,7 @@ export type PayPalCardFieldsNamespace = { export type CardFieldStyle = { appearance?: string; + background?: string; color?: string; direction?: string; font?: string; @@ -50,6 +51,7 @@ export type CardFieldStyle = { fontVariantNumeric?: string; fontVariant?: string; fontWeight?: string; + height?: string; letterSpacing?: string; lineHeight?: string; opacity?: string;