import { SyntheticEvent, useState } from "react"; import Tab from "@mui/base/TabUnstyled"; import Tabs from "@mui/base/TabsUnstyled"; import TabsList from "@mui/base/TabsListUnstyled"; import TabPanel from "@mui/base/TabPanelUnstyled"; import LibrayList from "components/library/LibrayList"; const tabs = ["History", "Favorite Books"]; const Library = () => { const [tab, setTab] = useState(tabs[0]); const handleTabChange = ( event: SyntheticEvent, value: string | number | boolean ) => { setTab(value as string); }; return (

{tab}

{tabs.map((item) => ( {item} ))}
{tabs.map((item) => ( ))}
); //
//

Popular This Week

// //
}; export default Library;