3.0.0 • Published 4 months ago

@types/material-ui-phone-number v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 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).

3.0.0

4 months ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.5

2 years ago

2.2.4

2 years ago

2.2.1

4 years ago

2.2.0

4 years ago