Skip to content

Commit 7adcd62

Browse files
authored
added missing style fields to CardField Types (#616)
1 parent fe804a4 commit 7adcd62

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/little-suits-camp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@paypal/react-paypal-js": major
3+
---
4+
5+
added missing style fields to CardField Types

packages/react-paypal-js/src/types/payPalCardFieldsTypes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export type PayPalCardFieldsNamespace = {
3535

3636
export type CardFieldStyle = {
3737
appearance?: string;
38+
background?: string;
3839
color?: string;
3940
direction?: string;
4041
font?: string;
@@ -50,6 +51,7 @@ export type CardFieldStyle = {
5051
fontVariantNumeric?: string;
5152
fontVariant?: string;
5253
fontWeight?: string;
54+
height?: string;
5355
letterSpacing?: string;
5456
lineHeight?: string;
5557
opacity?: string;

0 commit comments

Comments
 (0)