@enable-tech/shared-types
Version:
This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.
19 lines • 649 B
TypeScript
import { ChangeEvent, CSSProperties, FocusEvent } from 'react';
export interface I_PhoneNumberInputProps {
value?: string;
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
countryCode: string;
onRemove?: VoidFunction;
onAdd?: VoidFunction;
isExtra?: boolean;
isReadOnly?: boolean;
label: string;
isInvalid?: boolean;
disabled?: boolean;
placement?: string;
name?: string;
onCountryCodeChange?: (selectedCountryCode: string) => void;
countryCodeSelectorHeight?: CSSProperties['height'];
}
//# sourceMappingURL=index.d.ts.map