FontConfig: { family: string; scale: number }

Type declaration

  • family: string

    The font used for regular text. PaymentSheet will attempt to use medium and bold versions of this font if they exist.

    On iOS, this should be the "PostScript name" found in Font Book after installing the font. On Android, this should be the name of the font file (containing only lowercase alphanumeric characters) in android/app/src/main/res/font

    The OS's system font
    
  • scale: number

    The scale factor for all fonts in your PaymentSheet. This value is required to be greater than 0. Font sizes are multiplied by this value before being displayed. For example, setting this to 1.2 increases the size of all text by 20%.

    1.0
    
MMNEPVFCICPMFPCPTTAAATR