UNPKG

@botonic/react

Version:

Build Chatbots using React

10 lines (9 loc) 407 B
import React from 'react'; interface TextareaProps { host: HTMLElement; textareaRef: React.MutableRefObject<HTMLTextAreaElement | undefined>; sendChatEvent: (event: string) => Promise<void>; sendTextAreaText: () => Promise<void>; } export declare const Textarea: ({ host, textareaRef, sendChatEvent, sendTextAreaText, }: TextareaProps) => import("react/jsx-runtime").JSX.Element; export {};