@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
23 lines (22 loc) • 1.09 kB
TypeScript
export declare const ATOME_SUPPORTED_COUNTRIES: string[];
/**
* Creates Address Specification according to the Atome UI. This specification overrides all available specifications
*
* This custom specification is needed in order to create the desired layout of the Atome billing address part. The usage of the
* 'default' layout specification from the Address component does not align correctly the available fields, therefore we need to
* create this customization.
*/
export declare const BILLING_ADDRESS_SPECIFICATION: {
[x: string]: {
hasDataset?: boolean;
labels?: import("../internal/Address/types").StringObject;
optionalFields?: ("firstName" | "lastName" | "city" | "postalCode" | "street" | "stateOrProvince" | "country" | "houseNumberOrName")[];
placeholders?: import("../internal/Address/types").StringObject;
schema?: import("../internal/Address/types").AddressSchema;
} | {
labels: {
street: string;
};
schema: ("street" | ((number | "postalCode")[] | (number | "country")[])[])[];
};
};