2.2.5 • Published 6 months ago

@types/material-ui-phone-number v2.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/material-ui-phone-number

Summary

This package contains type definitions for material-ui-phone-number (https://github.com/alexplumb/material-ui-phone-number).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/material-ui-phone-number.

index.d.ts

// Type definitions for material-ui-phone-number 2.2
// Project: https://github.com/alexplumb/material-ui-phone-number
// Definitions by: Bassem (NextGLabs) <https://github.com/nextglabs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.8

import * as React from "react";
import { TextFieldProps } from "@material-ui/core";

export interface MaterialUiPhoneNumberProps extends Omit<TextFieldProps, "onChange"> {
    ref?: any;
    autoFormat?: boolean | undefined;
    classes?: Record<string, any> | undefined;
    countryCodeEditable?: boolean | undefined;
    defaultCountry?: string | undefined;
    disableAreaCodes?: boolean | undefined;
    disableCountryCode?: boolean | undefined;
    disableDropdown?: boolean | undefined;
    dropdownClass?: string | undefined;
    enableLongNumbers?: boolean | undefined;
    excludeCountries?: string[] | undefined;
    inputClass?: string | undefined;
    /**
     * @param value - Holds current value of `MuiPhoneInput`.
     */
    onChange?: ((value: any) => void) | undefined;
    onlyCountries?: string[] | undefined;
    preferredCountries?: string[] | undefined;
}

declare class MaterialUiPhoneNumber extends React.Component<MaterialUiPhoneNumberProps> {}

export default MaterialUiPhoneNumber;

Additional Details

Credits

These definitions were written by Bassem (NextGLabs).

2.2.3

7 months ago

2.2.2

7 months ago

2.2.5

6 months ago

2.2.4

6 months ago

2.2.1

3 years ago

2.2.0

3 years ago