import React from 'react'; import { Chat } from '../types'; interface ChatSidebarProps { chats: Chat[]; activeChat: Chat | null; onSelectChat: (chat: Chat) => void; onNewChat: () => void; onDeleteChat: (chatId: string) => void; isLoading: boolean; } const ChatSidebar: React.FC = ({ chats, activeChat, onSelectChat, onNewChat, onDeleteChat, isLoading, }) => { return ( ); }; export default ChatSidebar;