import "../css/components/dock.css"; import React from "react"; import { Box, IconButton } from "@mui/material"; import SideBar from "./sidebar"; import { useIsSmallScreen } from "./ContextProvider"; /** * mobile dock */ export default function Dock(props: { btns: { icon: JSX.Element; action: () => void }[]; }) { const { btns } = props; const isSmallScreen = useIsSmallScreen(); return (