import { Conversation } from "@/types"; import { IconPlus } from "@tabler/icons-react"; import { FC } from "react"; import { Conversations } from "./Conversations"; import { SidebarSettings } from "./SidebarSettings"; interface Props { loading: boolean; conversations: Conversation[]; lightMode: "light" | "dark"; selectedConversation: Conversation; onNewConversation: () => void; onToggleLightMode: (mode: "light" | "dark") => void; onSelectConversation: (conversation: Conversation) => void; onDeleteConversation: (conversation: Conversation) => void; } export const Sidebar: FC = ({ loading, conversations, lightMode, selectedConversation, onNewConversation, onToggleLightMode, onSelectConversation, onDeleteConversation }) => { return (
); };