import { Badge, Button, Tooltip } from '@mui/material'; function HomeCommand(props: {icon: string, title: string, badge?: number, action: () => void}) { const image = ; let inner = image; if (props.badge !== undefined) { inner = {inner}; } const button = ; return {button} ; } export default HomeCommand;