import { ContentType } from "@/types" import { IconAdjustmentsHorizontal, IconBolt, IconBooks, IconFile, IconMessage, IconPencil, IconRobotFace, IconSparkles } from "@tabler/icons-react" import { FC } from "react" import { TabsList } from "../ui/tabs" import { WithTooltip } from "../ui/with-tooltip" import { ProfileSettings } from "../utility/profile-settings" import { SidebarSwitchItem } from "./sidebar-switch-item" export const SIDEBAR_ICON_SIZE = 28 interface SidebarSwitcherProps { onContentTypeChange: (contentType: ContentType) => void } export const SidebarSwitcher: FC = ({ onContentTypeChange }) => { return (
} contentType="chats" onContentTypeChange={onContentTypeChange} /> } contentType="presets" onContentTypeChange={onContentTypeChange} /> } contentType="prompts" onContentTypeChange={onContentTypeChange} /> } contentType="models" onContentTypeChange={onContentTypeChange} /> } contentType="files" onContentTypeChange={onContentTypeChange} /> } contentType="collections" onContentTypeChange={onContentTypeChange} /> } contentType="assistants" onContentTypeChange={onContentTypeChange} /> } contentType="tools" onContentTypeChange={onContentTypeChange} />
{/* TODO */} {/* Import
} trigger={} /> */} {/* TODO */} {/* */} Profile Settings
} trigger={} /> ) }