From 04e3a931c3a241c9fe42071d6dd54de807ec9dea Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Thu, 12 Dec 2024 13:44:20 +0300 Subject: [PATCH] chore(demo): update `Setup` section of `InputPhoneInternational` documentation --- .../input-phone-international/examples/import/import.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/projects/demo/src/modules/components/input-phone-international/examples/import/import.md b/projects/demo/src/modules/components/input-phone-international/examples/import/import.md index 33cb40a6fb7b..d509adf5d824 100644 --- a/projects/demo/src/modules/components/input-phone-international/examples/import/import.md +++ b/projects/demo/src/modules/components/input-phone-international/examples/import/import.md @@ -1,5 +1,6 @@ ```ts import {ReactiveFormsModule} from '@angular/forms'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n'; import {TuiInputPhoneInternational} from '@taiga-ui/kit'; @Component({ @@ -12,11 +13,6 @@ export class Example { testValue: new FormControl('+78005553535'), }); - readonly countries: ReadonlyArray = [ - TuiCountryIsoCode.RU, - TuiCountryIsoCode.KZ, - TuiCountryIsoCode.UA, - TuiCountryIsoCode.BY, - ]; + readonly countries: ReadonlyArray = ['RU', 'KZ', 'UA', 'BY']; } ```