HostedFieldsOptions
type HostedFieldsOptions = Pick<PurseHeadlessCheckoutUIOptions, "locale" | "hostedForm"> & HostedFieldsUIOptions & object;
HostedFieldsOptions let you override theme configuration, render targets and placeholders for hosted fields.
Type Declaration
| Name | Type | Description |
|---|---|---|
theme | HostedFieldsTheme | This section holds the theme configuration. Matters like, font, colors, spacing can be override using this config. HostedFieldsTheme |
See
PurseHeadlessCheckoutUIOptions.locale for locale configuration