import { Button, SxProps, Theme, useTheme } from "@mui/material"; interface Props { Icon: React.ElementType; isActive?: boolean; onClick: () => void; sx?: SxProps; } export default function SelectableIconButton({ Icon, isActive = false, onClick, sx, }: Props) { const theme = useTheme(); return (