Appearance of Shipping Address Element's primary button.

interface PrimaryButtonConfiguration {
    font?: Partial<Pick<PaymentSheet.FontConfig, "family">>;
    colors?:
        | PrimaryButtonColorConfiguration
        | {
            light: PrimaryButtonColorConfiguration;
            dark: PrimaryButtonColorConfiguration;
        };
    shapes?: PrimaryButtonShapeConfiguration;
}

Properties

Properties

font?: Partial<Pick<PaymentSheet.FontConfig, "family">>

Font family used for the primary button.

colors?:
    | PrimaryButtonColorConfiguration
    | {
        light: PrimaryButtonColorConfiguration;
        dark: PrimaryButtonColorConfiguration;
    }

Colors used by the primary button, in a single or light/dark palette.

Configures the primary button's border and height.