botframework-webchat-component
Version:
React component of botframework-webchat
22 lines • 1.01 kB
TypeScript
import React, { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, ReactEventHandler } from 'react';
type AccessibleInputTextProps = {
'aria-errormessage'?: string;
className?: string;
disabled?: boolean;
enterKeyHint?: string;
inputMode?: 'text' | 'none' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
onChange?: ChangeEventHandler<HTMLInputElement>;
onFocus?: FocusEventHandler<HTMLInputElement>;
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
onKeyDownCapture?: KeyboardEventHandler<HTMLInputElement>;
onKeyPress?: KeyboardEventHandler<HTMLInputElement>;
onSelect?: ReactEventHandler<HTMLInputElement>;
placeholder?: string;
readOnly?: boolean;
tabIndex?: number;
type: 'text';
value?: string;
};
declare const AccessibleInputText: React.ForwardRefExoticComponent<AccessibleInputTextProps & React.RefAttributes<HTMLInputElement>>;
export default AccessibleInputText;
//# sourceMappingURL=AccessibleInputText.d.ts.map