UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

13 lines (12 loc) 370 B
import * as React from 'react'; type Props = { text: string; setText: (value: string) => void; onSendMessage: () => void; expand: boolean; setExpand: (value: boolean) => void; handleFileUpload: (fileList: FileList | null) => void; disabled?: boolean; }; declare const ChatTextField: React.FC<Props>; export default ChatTextField;