baseui
Version:
A React Component library implementing the Base design language
32 lines (31 loc) • 851 B
TypeScript
import React from 'react';
import type { PhoneInputProps } from './types';
declare function PhoneInput(props: PhoneInputProps): React.JSX.Element;
declare namespace PhoneInput {
var defaultProps: {
'aria-label': string;
'aria-describedby': any;
'aria-labelledby': any;
clearable: boolean;
focusLock: boolean;
country: {
label: string;
id: string;
dialCode: string;
};
disabled: boolean;
error: boolean;
id: any;
maxDropdownHeight: string;
maxDropdownWidth: string;
name: any;
onCountryChange: () => void;
onTextChange: () => void;
overrides: {};
positive: boolean;
required: boolean;
size: "default";
text: string;
};
}
export default PhoneInput;