I'm currently tackling an issue with Material UI's tooltip. I can't seem to find a way to make the background of the tooltip completely transparent. By default, it displays with a grey background and white text. Changing the background color of the Tooltip affects the child element's background color as well, since the Tooltip acts as the parent element in this scenario.
I've attempted the following:
<Tooltip title="Add" classes={{
tooltip: "backgroundColor: transparent"
}} aria-label="add">
<Fab color="transparent" className={classes.fab}>
<AddIcon />
</Fab>
</Tooltip>
And also this:
<Tooltip title="Add" style={{backgroundColor: "transparent"}} aria-label="add">
<Fab color="transparent" className={classes.fab}>
<AddIcon />
</Fab>
</Tooltip>
My goal is to have no background when hovering over the tooltip. I simply want to see the text without any distractions.