Skip to content

Commit

Permalink
added missing style fields to CardField Types (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
devpato authored Feb 6, 2025
1 parent fe804a4 commit 7adcd62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-suits-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@paypal/react-paypal-js": major
---

added missing style fields to CardField Types
2 changes: 2 additions & 0 deletions packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export type PayPalCardFieldsNamespace = {

export type CardFieldStyle = {
appearance?: string;
background?: string;
color?: string;
direction?: string;
font?: string;
Expand All @@ -50,6 +51,7 @@ export type CardFieldStyle = {
fontVariantNumeric?: string;
fontVariant?: string;
fontWeight?: string;
height?: string;
letterSpacing?: string;
lineHeight?: string;
opacity?: string;
Expand Down

0 comments on commit 7adcd62

Please sign in to comment.