@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
17 lines (15 loc) • 466 B
TypeScript
/// <reference types="react" />
export interface IInputProps {
type?: string;
placeholder?: string;
handleChange?(value: string): void;
value?: string;
autoComplete?: string;
name?: string;
autoFocus?: boolean;
}
export declare enum InputType {
Text = "text",
Password = "password"
}
export declare function Input({ type: defaultType, placeholder, handleChange, value, autoComplete, name, autoFocus }: IInputProps): JSX.Element;