converse-ai-support-library
Version:
A React component library for floating contact buttons (email, chat, call)
16 lines (15 loc) • 492 B
TypeScript
import { default as React } from 'react';
export interface InputProps {
type?: "text" | "email" | "tel" | "password";
placeholder?: string;
value: string;
onChange: (value: string) => void;
icon?: "email" | "avatar" | "chatbot" | "send" | "close" | "name" | "emailForm" | "error" | "tick";
error?: string;
className?: string;
disabled?: boolean;
required?: boolean;
isValid?: boolean;
}
declare const Input: React.FC<InputProps>;
export default Input;