2.2.5 • Published 6 months ago
@types/material-ui-phone-number v2.2.5
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
- Last updated: Thu, 08 Jul 2021 16:24:04 GMT
- Dependencies: @types/react, @types/material-ui__core
- Global values: none
Credits
These definitions were written by Bassem (NextGLabs).