Skip to content

Commit

Permalink
update all usage to AddressElement
Browse files Browse the repository at this point in the history
  • Loading branch information
graceg-stripe committed Sep 21, 2022
1 parent 150efd8 commit 91a40f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions types/stripe-js/elements/address.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export interface StripeAddressElementOptions {

/**
* An array of two-letter ISO country codes representing which countries
* are displayed in the Address Element.
* are displayed in the AddressElement.
*/
allowedCountries?: string[] | null;

Expand Down Expand Up @@ -183,7 +183,7 @@ export interface StripeAddressElementOptions {
};

/**
* Control which additional fields to display in the Address Element.
* Control which additional fields to display in the AddressElement.
*/
fields?: {
phone?: 'always' | 'never' | 'auto';
Expand All @@ -207,17 +207,17 @@ export interface StripeAddressElementChangeEvent
elementType: 'address';

/**
* The mode of the Address Element that emitted this event.
* The mode of the AddressElement that emitted this event.
*/
elementMode: AddressMode;

/**
* Whether or not the Address Element is currently empty.
* Whether or not the AddressElement is currently empty.
*/
empty: boolean;

/**
* Whether or not the Address Element is complete.
* Whether or not the AddressElement is complete.
*/
complete: boolean;

Expand Down

0 comments on commit 91a40f7

Please sign in to comment.