1 | import * as React from 'react';
|
2 | import { InputEventHandler } from './PropsType';
|
3 | import { Omit } from '../_util/types';
|
4 | export declare type HTMLInputProps = Omit<React.HTMLProps<HTMLInputElement>, 'onFocus' | 'onBlur'>;
|
5 | export interface InputProps extends HTMLInputProps {
|
6 | onFocus?: InputEventHandler;
|
7 | onBlur?: InputEventHandler;
|
8 | }
|
9 | declare class Input extends React.Component<InputProps, any> {
|
10 | inputRef: HTMLInputElement | null;
|
11 | onInputBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
12 | onInputFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
|
13 | focus: () => void;
|
14 | render(): JSX.Element;
|
15 | }
|
16 | export default Input;
|