Skip to content

Commit

Permalink
Extend ButtonThemeOption type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsnow070 authored Jun 5, 2024
1 parent 9f34582 commit 4d07766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/stripe-js/elements/express-checkout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,12 @@ export type ApplePayButtonTheme = 'black' | 'white' | 'white-outline';

export type GooglePayButtonTheme = 'black' | 'white';

export type PayPalButtonTheme = 'gold' | 'blue' | 'silver' | 'white' | 'black'

export type ButtonThemeOption = {
applePay?: ApplePayButtonTheme;
googlePay?: GooglePayButtonTheme;
paypal?: PayPalButtonTheme;
};

export type ApplePayButtonType =
Expand Down

0 comments on commit 4d07766

Please sign in to comment.