diff --git a/src/App.tsx b/src/App.tsx index 3a5db74..c8c6c2a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,18 +1,39 @@ +import { useState } from "react"; import "./App.css"; -import { MapLibreMap } from "@mapcomponents/react-maplibre"; +import { + MapLibreMap, + Sidebar, + TopToolbar, +} from "@mapcomponents/react-maplibre"; +import IconButton from "@mui/material/IconButton"; +import MenuIcon from "@mui/icons-material/Menu"; function App() { + const [sidebarOpen, setSidebarOpen] = useState(true); + return ( <> + setSidebarOpen((prev) => !prev)} + aria-label="toggle sidebar" + > + + + } + /> + ); } -export default App; \ No newline at end of file +export default App;