size

Updates the size of the Payment Button with the provided PaymentButtonSize.

The main UI elements which change when modifying the size include:

  • Minimum height of the button.

  • Height and width of the wordmark.

The default size of a button is MEDIUM.