import React from 'react'; interface ChatTabsProps { chats: Record; currentChatId: string | null; createNewChat: () => void; switchToChat: (chatId: string) => void; closeChat: (chatId: string) => void; } const ChatTabs: React.FC = ({ chats, currentChatId, createNewChat, switchToChat, closeChat }) => { return (
{Object.keys(chats).map((chatId) => (
))}
); }; export default ChatTabs;