import type { GlobalProps } from '../../shared/global'; import { AnyAutocompleteField, AutocompleteAddressGroup, AutocompleteProps } from '../../shared/autocomplete'; import { BaseTextFieldProps, FieldDecorationProps } from '../../shared/input'; import { ExtractStrict } from '../../shared/utils'; export type PhoneAutocompleteField = ExtractStrict; export interface PhoneFieldProps extends GlobalProps, BaseTextFieldProps, Pick, AutocompleteProps { /** * The type of number to collect. * * Specific style may be applied to each type to provide extra guidance to users. Note that no extra validation is performed based on the type. * * @default '' meaning no specific kind of phone number */ type?: 'mobile' | ''; }