/* * @Author: ZhaoYing * @Date: 2025-12-10 16:46:09 * @Last Modified by: ZhaoYing * @Last Modified time: 2026-03-26 13:32:46 */ import { type FC } from 'react' import ChatInput from './ChatInput' import type { ChatProps } from './types' import ChatContent from './ChatContent' /** * Chat Component - Main component consisting of content area and input box * Provides complete chat interface functionality, including message display and input interaction */ const Chat: FC = ({ empty, data, onChange, onSend, streamLoading = false, loading, contentClassName = '', children, labelFormat, errorDesc, fileList, fileChange, className, renderRuntime }) => { return (
{/* Chat content display area */} {/* Chat input area */} {children}
) } export default Chat