I was able to pass Material-UI’s IconButton inside Material-UI’s Tooltip title.
All the views are working properly, except I cannot press the button.
I want to add a Close button to make the tooltip close on clicking the close button, but I cannot do that. Is there a way to do this? If yes, please provide a solution to this.
I solved it by using Popper from Material-UI.
MUI’s Tooltip has pointer-events set to none by default, so you need to enable this. Add a class to your tooltip and then add this to the css: