Sha256: 97d024c0907be21ea3bed6d140d258add8a04b33dbd31d4139b9cb1a7ce55abc

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

import React from 'react';
import 'intl-tel-input/build/css/intlTelInput.css';
import 'intl-tel-input/build/js/utils.js';
import { Callback } from '../types';
declare global {
    interface Window {
        intlTelInputGlobals: any;
    }
}
declare type PhoneNumberInputProps = {
    aria?: {
        [key: string]: string;
    };
    className?: string;
    dark?: boolean;
    data?: {
        [key: string]: string;
    };
    disabled?: boolean;
    error?: string;
    id?: string;
    initialCountry?: string;
    isValid?: (valid: boolean) => void;
    label?: string;
    name?: string;
    onChange?: (e: React.FormEvent<HTMLInputElement>) => void;
    onValidate?: Callback<boolean, void>;
    onlyCountries: string[];
    preferredCountries?: string[];
    required?: boolean;
    value?: string;
};
declare const _default: React.ForwardRefExoticComponent<PhoneNumberInputProps & React.RefAttributes<unknown>>;
export default _default;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1609 app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.d.ts
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1608 app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.d.ts