Skip to main content

HostedFieldsOptions

type HostedFieldsOptions = Pick<PurseHeadlessCheckoutUIOptions, "locale" | "hostedForm"> & HostedFieldsUIOptions & object;

HostedFieldsOptions let you override theme configuration, render targets and placeholders for hosted fields.

Type Declaration​

NameTypeDescription
themeHostedFieldsThemeThis section holds the theme configuration. Matters like, font, colors, spacing can be override using this config. HostedFieldsTheme

See​

PurseHeadlessCheckoutUIOptions.locale for locale configuration