import React from 'react' export interface TelInputProps { className?: string disabled?: boolean readonly?: boolean fieldName?: string fieldId?: string value?: string placeholder?: string handleInputChange: (event: React.ChangeEvent) => void handleOnBlur: (event: React.FocusEvent) => void handleOnFocus: (event: React.FocusEvent) => void autoFocus?: boolean autoComplete?: string inputProps?: React.HTMLProps refCallback: (element: HTMLInputElement | null) => void cursorPosition?: number } export interface TelInputState { hasFocus: boolean } export default class TelInput extends React.Component< TelInputProps, TelInputState > { tel?: HTMLInputElement | null refHandler: (element: HTMLInputElement | null) => void handleBlur: (event: React.FocusEvent) => void handleFocus: (event: React.FocusEvent) => void }