import AppBar from "@mui/material/AppBar"; import Navigation from "./Navigation"; import Toolbar from "@mui/material/Toolbar"; import IconButton from "@mui/material/IconButton"; import MenuIcon from "@mui/icons-material/Menu"; import Typography from "@mui/material/Typography"; import IconSubscribeSettings from "./IconSubscribeSettings"; import * as React from "react"; const ActionBar = (props) => { const title = (props.selectedSubscription !== null) ? props.selectedSubscription.shortUrl() : "ntfy"; return ( Navigation ml: { sm: `${Navigation.width}px` } }}> {title} {props.selectedSubscription !== null && } ); }; /* To add a top left corner logo box: ntfy To make the size of the top bar dynamic based on the drawer: width: { sm: `calc(100% - ${Navigation.width}px)` } */ export default ActionBar;