Skip to content

Commit

Permalink
feat(phone-number): add countries in component
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteves60 authored and dpellier committed Sep 25, 2023
1 parent fe3c5e0 commit 9445b1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ export class OsdsPhoneNumber implements OdsPhoneNumberAttribute, OdsPhoneNumberE
/** @see OdsPhoneNumberAttribute.locale */
@Prop({ reflect: true, mutable: true }) locale?: ODS_LOCALE = DEFAULT_ATTRIBUTE.locale;

/** @see OdsPhoneNumberAttribute.isoCode */
@Prop({ reflect: true, mutable: true }) isoCode?: ODS_COUNTRY_ISO_CODE = DEFAULT_ATTRIBUTE.isoCode;

/** @see OdsPhoneNumberAttribute.locale */
@Prop({ reflect: true, mutable: true }) locale?: ODS_COUNTRY_ISO_CODE = DEFAULT_ATTRIBUTE.locale;

/** @see OdsPhoneNumberAttribute.value */
@Prop({ reflect: true, mutable: true }) value = DEFAULT_ATTRIBUTE.value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ Default.args = {
};

export const Countries = OsdsPhoneNumberDefault.bind({});

// @ts-ignore
Countries.args = {
...extractStoryParams({ ...storyParams, ...countriesParams }),
Expand All @@ -88,4 +87,5 @@ export const AllCountries = OsdsPhoneNumberDefault.bind({});
// @ts-ignore
AllCountries.args = {
...extractStoryParams({ ...storyParams, ...allCountriesParams }),
};
}

0 comments on commit 9445b1c

Please sign in to comment.