UNPKG

modelosaurus-chatbot

Version:

A customizable plug and play chatbot component for React applications, designed to work seamlessly with the Modelosaurus API.

12 lines (11 loc) 374 B
import React from 'react'; import { ChatbotData } from '../../types'; interface ChatInputProps { message: string; setMessage: (message: string) => void; handleSendMessage: () => void; handleKeyPress: (e: React.KeyboardEvent<HTMLInputElement>) => void; settings: ChatbotData; } declare const ChatInput: React.FC<ChatInputProps>; export default ChatInput;