Skip to content

<PhoneInput/> Property 'localization' does not exist on type 'IntrinsicAttributes & PhoneInputProps & { children?: ReactNode; }' #232

@hu-shuaishuai

Description

@hu-shuaishuai

I want to use localization , but it tell me a error
Type error: Type '{ country: string; value: string; onChange: (value: string) => void; onlyCountries: string[]; localization: { de: string; es: string; }; }' is not assignable to type 'IntrinsicAttributes & PhoneInputProps & { children?: ReactNode; }'.
Property 'localization' does not exist on type 'IntrinsicAttributes & PhoneInputProps & { children?: ReactNode; }'. TS2322

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions