alexbednov-phone-select
Version:
Vue 3 component for phone number selection with international support and masking.
16 lines (15 loc) • 346 B
TypeScript
export type Language = 'ru' | 'en' | 'az' | 'be';
export interface Country {
country_code: string;
phone_code: number;
name?: string;
phone_ranges?: number[];
}
export interface Translations {
[key: string]: {
countries: {
[key: string]: string;
};
};
}
export type { Country as CountryType };