NamH 26f732d541
Add model screen and refactoring (#242)
* Add model screen and refactoring

Signed-off-by: James <james@jan.ai>
2023-10-02 10:10:32 -07:00

21 lines
647 B
TypeScript

import React from "react";
import SidebarFooter from "../SidebarFooter";
import SidebarHeader from "../SidebarHeader";
import SidebarMenu from "../SidebarMenu";
import HistoryList from "../HistoryList";
import SecondaryButton from "../SecondaryButton";
const LeftContainer: React.FC = () => (
<div className="w-[323px] flex-shrink-0 p-3 h-screen border-r border-gray-200 flex flex-col">
<SidebarHeader />
<div className="h-5" />
<SecondaryButton title={"New Chat"} onClick={() => {}} />
<div className="h-6" />
<HistoryList />
<SidebarMenu />
<SidebarFooter />
</div>
);
export default React.memo(LeftContainer);